From 63955cdaab4c895d033ce1b1db350a0d311f71a1 Mon Sep 17 00:00:00 2001 From: lniwn Date: Mon, 29 Jul 2019 22:43:06 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E5=8D=B8=E8=BD=BDAliYunDun=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archetypes/posts.md | 1 + content/posts/2019/卸载AliYunDun服务.md | 45 +++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 content/posts/2019/卸载AliYunDun服务.md 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 +``` +