直接在SSH终端执行以下命令即可
/etc/init.d/httpd stop && sleep 3
上面这行是停止http进程
pkill -9 httpd
这行是终止http相关进程
/etc/init.d/mysqld stop && sleep 3
这行是终止mysql的相关进程
sync && init 6
这行是确认重启
宝塔面板SSH安装命令地址:https://yun.7ka.co/baotalianhe/
或者直接执行这个命令
wget -O bt_centos7.sh http://down.0ka.co/bt/centos7.sh && sh bt_centos7.sh
或者是这一条命令
Centos安装脚本yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh bc208ab9
Ubuntu/Deepin安装脚本wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh bc208ab9
Debian安装脚本wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh bc208ab9
Fedora安装脚本wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh bc208ab9
update安装脚本wget -O update.sh http://download.bt.cn/install/update6.sh && sh update.sh bc208ab9
升级脚本wget -O update.sh http://download.bt.cn/install/update.sh && sh update.sh
Copyright © 2019-2023 yun.7ka.co 卡酷云 版权所有 苏公网安备 32070502010804号《ICP许可证》:B1-20215234 江苏奇卡酷科技有限公司 苏ICP备19014868号-1