卸载腾讯云监控及安装开心版BT

XIUNO 站长已认证 10天前

55 0
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

wget https://cdn.jsdelivr.net/gh/helloxz/shell@master/bbr.sh && bash bbr.sh

3、安装BT

//宝塔去强制登陆)如果是原版
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
 
精彩的人生就是不断的折腾!
──── 0人觉得很赞 ────


最新回复 (0)
    • ⎛⎝XIUNO学院⎠⎞
      2
        立即登入 立即注册 QQ登入
返回
评论