ubuntu一键卸载宝塔Linux面板及运行环境命令

1.使用xshell链接服务 进入服务器

wget http://download.bt.cn/install/bt-uninstall.sh

2.执行脚本

sh bt-uninstall.sh

3.根据提示

ubuntu@Ubuntu16:~$ sudo chmod +x bt-uninstall.sh 
ubuntu@Ubuntu16:~$ sudo ./bt-uninstall.sh 
1) 卸载宝塔
2) 卸载宝塔及运行环境
*请检查安全类软件是否关闭,否正可能导致无法正常卸载 
=================================================
请选择你要进行的操作(1-2 默认:1): 2
Stoping nginx...  done
nginx clean
[ ok ] Stopping mysqld (via systemctl): mysqld.service.
mysqld clean
Stopping Pure-FTPd...   done
pure-ftpd clean
Gracefully shutting down php-fpm . done
php-fpm-56 clean
phpmyadmin clean
清除面板运行环境完毕
Stopping Bt-Tasks...    done
Stopping Bt-Panel...    done
宝塔面板已卸载成功
bt-panel uninstall success

4.完成更多功能及文档

你可能感兴趣的:(#,ubuntu,linux,ubuntu)