2 changed files with 46 additions and 0 deletions
@ -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 |
||||||
|
``` |
||||||
|
|
||||||
Loading…
Reference in new issue