阿里云ECS服务器CentOS如何关闭AliYunDun?

阿里云ECS服务器CentOS关闭AliYunDun的进程,这个似乎会占用一定的内存资源,如果你的服务器内存小,经常会被站满了内存,可以尝试关闭掉他,这个阿里云盾似乎意义不大。使用LIUNX系统时,会被自动的安装上阿里云盾(安骑士)的WAF防火墙的免费版,这个免费版的防火墙除了记示一此漏洞,扫描或是注入攻击等一些记录外,感觉也没有啥用。如果需要修复漏洞或是防止扫描或注入的攻击,就需要用到收费版了,所以基本可以把它给关闭或者卸载了。

方法一:CentOS关闭AliYunDun
首先打开阿里云官网:https://www.aliyun.com/,登陆我们的服务器xshell,使用 chkconfig –list 查看开机启动里面这个软件的服务名是什么,然后替换掉 xxx 然后执行就可以了。如果想开机不启动的话,chkconfig –del xxxx 这个 xxxx 就是你找出来的 aliyundun 的后台服务。

service aegis stop  #停止服务
chkconfig --del aegis  # 删除服务

方法二:卸载云盾监控屏蔽IP
1、卸载阿里云盾监控

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

2、删除残留

pkill aliyun-service
rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service
rm -rf /usr/local/aegis*
原创文章 6 获赞 4 访问量 140

猜你喜欢

转载自blog.csdn.net/baidu_18195031/article/details/106129434