今天由於安裝了高版本的fastdfs,與nginx不相容,因此要解除安裝掉,重新安裝。
**:[root@bogon fdfs]#service fdfs_trackerd stop
[root@bogon fdfs]#service fdfs_storaged stop
[root@bogon fdfs]# cat /etc/fdfs/storage.conf |grep base_path
base_path=/opt/fastdfs_storage
# store_path#, based 0, if store_path0 not exists, it's value is base_path
[root@bogon fdfs]#
[root@bogon fdfs]# cat /etc/fdfs/storage.conf |grep store_path
store_path_count=1
# store_path#, based 0, if store_path0 not exists, it's value is base_path
store_path0=/opt/fastdfs_storage_data
#store_path1=/home/yuqing/fastdfs2
# store_path (disk), value can be 1 to 256, default value is 256
[root@bogon fdfs]#
刪除上面標紅的路徑,
注意,如果有未備份的檔案,請先備份再刪除
[root@bogon fdfs]# rm -rf /opt/fastdfs_storage
[root@bogon fdfs]# rm -rf /opt/fastdfs_storage_data
[root@bogon fdfs]# cat /etc/fdfs/tracker.conf |grep base_path
base_path=/opt/fastdfs_tracker
[root@bogon fdfs]#rm –rf /opt/fastdfs_tracker
[root@bogon ~]# pwd
/root
[root@bogon ~]# rm -rf /etc/fdfs/
[root@bogon ~]#
刪除tracker的鏈結檔案
#rm –rf /usr/local/bin/fdfs_trackerd
#rm –rf /usr/local/bin/stop.sh
#rm –rf /usr/local/bin/restart.sh
刪除storage的鏈結檔案
#rm –rf /usr/local/bin/fdfs_storaged
首先通過ls命令檢視檔案,然後刪除
[root@bogon ~]# ll /usr/bin/fdfs_*
-rwxr-xr-x. 1 root root 251274 jul 27 03:01 /usr/bin/fdfs_crc32
-rwxr-xr-x. 1 root root 252223 jul 27 03:01 /usr/bin/fdfs_delete_file
-rwxr-xr-x. 1 root root 253062 jul 27 03:01 /usr/bin/fdfs_download_file
-rwxr-xr-x. 1 root root 252756 jul 27 03:01 /usr/bin/fdfs_file_info
-rwxr-xr-x. 1 root root 265444 jul 27 03:01 /usr/bin/fdfs_monitor
-rwxr-xr-x. 1 root root 878573 jul 27 03:01 /usr/bin/fdfs_storaged
-rwxr-xr-x. 1 root root 268499 jul 27 03:01 /usr/bin/fdfs_test
-rwxr-xr-x. 1 root root 267636 jul 27 03:01 /usr/bin/fdfs_test1
-rwxr-xr-x. 1 root root 374059 jul 27 03:01 /usr/bin/fdfs_tracker
-rwxr-xr-x. 1 root root 254296 jul 27 03:01 /usr/bin/fdfs_upload_file
[root@bogon ~]#
看到全是fastdfs的檔案,刪除:
[root@bogon ~]# rm -rf /usr/bin/fdfs_*
[root@bogon ~]#
首先檢視檔案:
刪除:[root@bogon ~]# rm -rf /usr/include/fastdfs/
[root@bogon ~]#
檢視:[root@bogon lib64]# ll libfdfsclient*
-rwxr-xr-x. 1 root root 255538 jul 27 03:01 libfdfsclient.so
刪除:[root@bogon lib64]# rm -rf libfdfsclient*
檢視:[root@bogon lib64]# ll libfdfsclient*
-rwxr-xr-x. 1 root root 255538 jul 27 03:01 libfdfsclient.so
刪除:[root@bogon lib64]# rm -rf libfdfsclient*
centos 7 解除安裝mysql
解除安裝maridb root host 131 rpm qa grep mariadb mariadb libs 5.5.52 1.el7.x86 64 root host 131 yum y remove mari root host 131 rm rf var lib mysql root h...
Centos 7 如何解除安裝docker
1首先搜尋已經安裝的docker 安裝包 root localhost yum list installed grep docker 或者使用該命令 root localhost rpm qa grep docker docker.x86 64 2 1.12.6 16.el7.centos extr...
CentOS 7解除安裝Mysql過程
mysql community解除安裝 像我這樣子的linux菜鳥接下來的想法,當然是解除安裝了mysql換成mariadb了。於是我找到了這篇文章 解除安裝掉安裝的部分 首先執行檢視命令,看一下都安轉了什麼東東 開始解除安裝 執行解除安裝命令 yum remove mysql community ...