1、先卸载腾讯云监控
- #直接复制粘贴全部到SSH窗口即可
- sudo -i
- systemctl stop tat_agent
- systemctl disable tat_agent
- /usr/local/qcloud/stargate/admin/uninstall.sh
- /usr/local/qcloud/YunJing/uninst.sh
- /usr/local/qcloud/monitor/barad/admin/uninstall.sh
- rm -f /etc/systemd/system/tat_agent.service
- rm -rf /usr/local/qcloud
- rm -rf /usr/local/sa
- rm -rf /usr/local/agenttools
- rm -rf /usr/local/qcloud
- process=(sap100 secu-tcs-agent sgagent64 barad_agent agent agentPlugInD pvdriver )
- for i in ${process[@]}
- do
- for A in $(ps aux | grep $i | grep -v grep | awk ‘{print $2}’)
- do
- kill -9 $A
- done
- done
-
- #检查有没卸载干净
- ps -A | grep agent
复制代码
2、安装BBR
3、安装宝塔
- //宝塔去强制登陆)如果是原版
- rm -f /www/server/panel/data/bind.pl
-
- //安装宝塔纯净版
- # 宝塔企业版破解版
- Centos安装命令
- yum install -y wget && wget -O install.sh http://download.fenhao.me/ltd/install/install_6.0.sh && sh install.sh
- Ubuntu / Deepin安装命令:
- wget -O install.sh http://download.fenhao.me/ltd/install/install-ubuntu_6.0.sh && bash install.sh
- wget -O install.sh http://download.fenhao.me/ltd/install/install-ubuntu_6.0.sh && sudo bash install.sh
- # 宝塔专业版破解版
- Centos安装命令
- yum install -y wget && wget -O install.sh http://download.fenhao.me/install/install_6.0.sh && sh install.sh
- Ubuntu / Deepin安装命令:
- wget -O install.sh http://download.fenhao.me/install/in
复制代码
⠀ |