下载地址:
http://free.safedog.cn/website_safedog.html
下载safedog_linux64.tar.gz上传到服务器,
tar -zxvf safedog_linux64.tar.gz
cd safedog_an_linux64_2.8.21207/
./install.py
Need system command 'locate' to install safedog for linux.
Installation aborted!
yum -y install mlocate
Need system command 'lsof' to install safedog for linux.
Installation aborted!
yum install lsof
./install.py
extracting files ...
Warning: Web defense module will restart web process during installation!!:
Web defense module select: 1.apache 2.nginx . Input(Ctrl-C to skip web defense module installation): 2
step 1/3, start install common lib [ok]
step 2/3, start Install Server Defense Module
step 2.1, checking os release version... [ok]
step 2.2, installing file... [ok]
step 2.3, start service... [ok]
step 2.4, save safedog install info...
Tips:
(1)safedog install directory: /etc/safedog
(2)install safedog version: 2.8.21207
install safedog completely
step 3/3, start install Nginx Defense Module..
step 3.1, Nginx path:/usr/local/nginx
step 3.2, copy libraries [ok]
step 3.3, copy bin and set boot [ok]
step 3.4, download nginx..
download nginx failed, May This version is not supported!!!
Installation is complete!
重启Nginx服务.
sdcloud -u 你的安全狗服云帐号
回车
输入密码
sdcloud -u 1********1
Enter password:
log4cplus:ERROR No appenders could be found for logger (root).
log4cplus:ERROR Please initialize the log4cplus system properly.
Login successed.
Download certificate successed.
Congratulations! Your server has successfully joined in SafeDog Fuyun.
To experience Fuyun, please visit fuyun.safedog.cn.
使用Xshell,Putty or SecureCRT输入sdui命令便可调出图形化界面对安全狗进行详细的配置
或者登陆网页管理
http://fuyun.safedog.cn/serverCenter/server_info.html
真是日了狗
nginx版本支持,需要联系商务购买定制版,或者卸载掉nginx手动编译一个不大于1.12版本的nginx
卸载!
./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
Nginx Defense Module is not installed
Uninstall Common Module [ok]
Uninstall completely!
参考: