一. 宝塔安装命令:
1. Centos安装脚本:
yum install -y wget && wget -O install.sh https://download.bt.cn/install/install_6.0.sh && sh install.sh 6dca892c
2. ubuntu/deepin安装:
wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh 6dca892c
二. 卸载:
1. xshell连接服务器后,执行以下命令下载宝塔卸载程序:
wget http://download.bt.cn/install/bt-uninstall.sh
2. 运行卸载命令:
sh bt-uninstall.sh
3. 执行后选择y/n或1/2来确认是否卸载。