TypechoJoeTheme

主机评测

VPS教程

专注服务器评测和优惠码发布

阿里云ECS卸载阿里云盾(安骑士)

2020-10-26
/
0 评论
/
1,069 阅读
/
正在检测是否收录...
10/26

作用说明:

​ 用了一段时间阿里云的ECS,发现这个阿里云盾(安骑士)功能真心没什么用,还需要长驻内存。上网找找了方法,直接干掉吧,记录一下分享给您。

系统卸载:

​ 如果你使用的centos系统,直接就可以卸载:

service aegis stop
chkconfig --del aegis

脚本卸载:

​ 有时候系统卸载不方便,则需要使用脚本来干掉它,脚本为阿里云官方提供,安全放心。

  • 卸载脚本
wget http://update.aegis.aliyun.com/download/uninstall.sh
sh uninstall.sh
wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh
sh quartz_uninstall.sh
  • 删除残留
pkill aliyun-service
rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service
rm -rf /usr/local/aegis*
  • 屏弊云盾
iptables -I INPUT -s 140.205.201.0/28 -j DROP
iptables -I INPUT -s 140.205.201.16/29 -j DROP
iptables -I INPUT -s 140.205.201.32/28 -j DROP
iptables -I INPUT -s 140.205.225.192/29 -j DROP
iptables -I INPUT -s 140.205.225.200/30 -j DROP
iptables -I INPUT -s 140.205.225.184/29 -j DROP
iptables -I INPUT -s 140.205.225.183/32 -j DROP
iptables -I INPUT -s 140.205.225.206/32 -j DROP
iptables -I INPUT -s 140.205.225.205/32 -j DROP
iptables -I INPUT -s 140.205.225.195/32 -j DROP
iptables -I INPUT -s 140.205.225.204/32 -j DROP

执行htop观测几分钟,干净清爽。

阿里云阿里云盾安骑士
朗读
赞 · 0
赞赏
感谢您的支持,我会继续努力哒!

三合一收款

下面三种方式都支持哦

微信
QQ
支付宝
打开支付宝/微信/QQ扫一扫,即可进行扫码打赏哦
版权属于:

主机评测

本文链接:

https://zjpc.cc/54.html(转载时请注明本文出处及文章链接)

评论 (0)