Cyber​​panel卸載的方法

要卸載Cyber​​panel,只需要登錄SSH之後輸入以下代碼即可:

## remove openlitespeed
systemctl stop lsws && apt-get remove openlitespeed || yum uninstall openlitespeed && rm -rf /usr/local/lsws
## remove power dns
$ systemctl stop pdns && apt-get remove pdns-server pdns-backend-mysql || yum uninstall pdns pdns-backend-mysql
## remove pure-ftpd
$ yum remove pure-ftpd || apt-get remove pure-ftpd 
## remove firewalld
$ service firewalld stop || systemctl stop firewalld && yum remove firewalld || apt-get remove firewalld 
## remove modsecurity
$ bash imav-deploy.sh --uninstall && yum -y remove imunify-antivirus* && yum erase mod_security 
## remove imunify360
$ bash i360deploy.sh --uninstall && rm -rf /etc/sysconfig/imunify360/ && /usr/sbin/cagefsctl  --force-update && /usr/sbin/cagefsctl --remount-all
## remove mariadb
$ systemctl stop mysql && apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-* && rm -rf /etc/mysql /var/lib/mysql

這將刪除:

  • 最小平方法
  • 純 ftpd
  • 瑪麗亞資料庫
  • 防火牆
  • 免疫AV
  • imunify360
  • 模式安全
  • 強力DNS

有條件的話,還是會建議重新安裝系統。如果您仍想嘗試 Cyber​​Panel,我推薦 Ubuntu 20.04 或 Almalinux 8.4,或是其他。

 

© 版权声明
THE END
請多多支持
点赞10
评论 抢沙发

    暂无评论内容