diff --git a/archetypes/posts.md b/archetypes/posts.md index 8c41340..9764b74 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -5,4 +5,5 @@ draft: true toc: true images: tags: [untagged] +categories: --- \ No newline at end of file diff --git a/content/posts/2019/卸载AliYunDun服务.md b/content/posts/2019/卸载AliYunDun服务.md new file mode 100644 index 0000000..47a1226 --- /dev/null +++ b/content/posts/2019/卸载AliYunDun服务.md @@ -0,0 +1,45 @@ +--- +title: "卸载AliYunDun服务" +date: 2019-07-29T22:37:43+08:00 +draft: false +toc: true +images: +tags: [linux] +categories: vps +--- + +## 服务卸载 + +```shell +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 +``` + +## 文件删除 + +```shell +pkill aliyun-service +rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service +rm -rf /usr/local/aegis* +``` + +## 屏蔽IP + +```shell +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 +``` +