小樱 发表于 2019/9/4 00:38

Linux强制卸载删除残留 AliYunDun 阿里云vps服务器aegis监控云盾安骑士 屏蔽后台网页点击在线安装 腾讯云

Linux强制卸载删除残留 AliYunDun 阿里云vps服务器aegis监控云盾安骑士 屏蔽后台网页点击在线安装 腾讯云

卸载安骑士:
service aliyun stop;service CmsGoAgent stop;service aegis stop
systemctl disable aliyun;systemctl disable CmsGoAgent;systemctl disable aegis
wget http://update.aegis.aliyun.com/download/uninstall.sh
chmod +x uninstall.sh
./uninstall.sh
wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh
chmod +x quartz_uninstall.sh
./quartz_uninstall.sh

如果卸载提示Operation not permitted,则需要关闭自保护,或者运行这段命令后,reboot重启服务器,重启后在运行一次即可成功卸载
https://help.aliyun.com/document_detail/68616.html?userCode=kj5ig4dp
https://help.aliyun.com/document_detail/197280.htm?userCode=kj5ig4dp

删除残留:
killall -9 aliyun-service
killall -9 CmsGoAgent.linux-amd64
killall -9 AliYunDun
killall -9 AliYunDunUpdate
killall -9 AliSecGuard
killall -9 AliSecureCheck
killall -9 assist_daemon
rm -rf /etc/init.d/agentwatch /usr/sbin/aliyun-service /usr/sbin/aliyun_installer /usr/sbin/aliyun-service.backup
rm -rf /usr/local/aegis /usr/local/cloudmonitor /usr/local/share/aliyun-assist /usr/local/share/assist-daemon





腾讯云卸载
cd /usr/local/qcloud/monitor/barad/admin;./uninstall.sh;ll /usr/local/qcloud/monitor
cd /usr/local/qcloud/stargate/admin;./uninstall.sh;crontab -l |grep stargate
cd /usr/local/qcloud/YunJing;./uninst.sh;crontab -l |grep tcs



删除残留:
killall -9 tat_agent
killall -9 secu-tcs-agent
killall -9 watchdog.sh
rm -rf /usr/local/qcloud/YunJing /usr/local/qcloud/monitor /usr/local/qcloud/tat_agent /usr/local/qcloud/cpuidle /usr/local/sa

删除残留后主机安全都逐渐显示为离线就是成功了,10分钟左右刷新

页: [1]
查看完整版本: Linux强制卸载删除残留 AliYunDun 阿里云vps服务器aegis监控云盾安骑士 屏蔽后台网页点击在线安装 腾讯云