排行榜 统计
  • 文章总数:56 篇
  • 评论总数:253 条
  • 分类总数:5 个
  • 最后更新:2023年11月15日
原创教程

卸载腾讯云、阿里云后台监控服务

本文阅读 2 分钟
首页 教程 正文

极好的

前言

相信腾讯云,阿里云大家都很熟悉了,那么腾讯云、阿里云后台监控是怎么回事呢?对云腾讯云、阿里云等大厂而言自带的系统一般都带有后台监控等,虽然我们这些遵纪守法的好公民来讲其实也没啥的,但是总归是不太舒服的。所以本文将介绍如何卸载其监控等。(ps:上了腾讯云轻量香港的车,来水一水。)

懒人专用一键脚本

作者:pbstuk

wget https://yun.tyiblog.top/linux/all/jk_uninstall.sh
chmod +x jk_uninstall.sh
#卸载阿里云
./jk_uninstall.sh ai
#卸载腾讯云
./jk_uninstall.sh tx

腾讯云监控卸载

SSH运行以下代码:

/usr/local/qcloud/stargate/admin/uninstall.sh
/usr/local/qcloud/YunJing/uninst.sh
/usr/local/qcloud/monitor/barad/admin/uninstall.sh

以下代码不建议运行:

rm -rf /usr/local/qcloud/
rm -rf /usr/local/sa/
rm -rf /usr/local/agenttools

SSH运行以下代码无输出则卸载成功。(最好重启后运行查看)

ps -A | grep agent

阿里云监控卸载

卸载脚本:

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

卸载残留:

pkill aliyun-service
rm -rf /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

如果需要重新启用云盾,只要在iptables中释放屏蔽的IP段即可,安骑士的启用使用以下代码:

wget http://update.aegis.aliyun.com/download/install.sh
chmod +x install.sh
sh install.sh
原创文章,作者:天一,如若转载,请注明出处:https://tyiblog.com/teach/53.html
-- 展开阅读全文 --
腾讯云香港轻量服务器上车与评测
« 上一篇 07-14
Linux、Windows一键重装dd脚本收集
下一篇 » 07-17

发表评论

发表评论