######
######
卸载服务器安全狗、Nginx版网站安全狗:
[root@localhost ~]# cd /root/safedog_an_linux64_2.8.21207/
[root@localhost ~]# ./uninstall.py
Would you like to backup the files of isolation?[y/n](default:y):n
remove files of isolation
Would you like to backup safedog logs?[y/n](default:y):n
remove safedog logs
Collecting setup information [ok]
Uninstall Server Defense Module [ok]
Uninstall Server Defense Module Compeletely
Apache Defense Module is not installed
stop nginx server... [ok]
restore nginx.bak to nginx... [ok]
remove file of Nginx Defense Module... [ok]
start nginx server... [ok]
uninstall nginx defense module succeed..
Uninstall Common Module [ok]
Uninstall completely!
卸载Nginx版网站安全狗后,Nginx的版本会恢复原来的样子:
[root@localhost ~]# nginx -v
nginx version: nginx/1.10.0
[root@localhost ~]# nginx -V
nginx version: nginx/1.10.0
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)
built with OpenSSL 1.0.1e-fips 11 Feb 2013
TLS SNI support enabled
configure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-ipv6 --with-http_sub_module