作用说明:
用了一段时间阿里云的ECS,发现这个阿里云盾(安骑士)功能真心没什么用,还需要长驻内存。上网找找了方法,直接干掉吧,记录一下分享给您。
系统卸载:
如果你使用的centos系统,直接就可以卸载:
service aegis stopchkconfig --del aegis
脚本卸载:
有时候系统卸载不方便,则需要使用脚本来干掉它,脚本为阿里云官方提供,安全放心。
卸载脚本
wget http://update.aegis.aliyun.com/download/uninstall.shsh uninstall.shwget http://update.aegis.aliyun.com/download/quartz_uninstall.shsh quartz_uninstall.sh
删除残留
pkill aliyun-servicerm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-servicerm -rf /usr/local/aegis*
屏弊云盾
iptables -I INPUT -s 140.205.201.0/28 -j DROPiptables -I INPUT -s 140.205.201.16/29 -j DROPiptables -I INPUT -s 140.205.201.32/28 -j DROPiptables -I INPUT -s 140.205.225.192/29 -j DROPiptables -I INPUT -s 140.205.225.200/30 -j DROPiptables -I INPUT -s 140.205.225.184/29 -j DROPiptables -I INPUT -s 140.205.225.183/32 -j DROPiptables -I INPUT -s 140.205.225.206/32 -j DROPiptables -I INPUT -s 140.205.225.205/32 -j DROPiptables -I INPUT -s 140.205.225.195/32 -j DROPiptables -I INPUT -s 140.205.225.204/32 -j DROP
执行htop观测几分钟,干净清爽。