CentOS安装网站安全狗

10 篇文章 0 订阅

下载地址:

http://free.safedog.cn/website_safedog.html

Nginx版:    64位   V2.4

下载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!
 

 

参考:

https://www.cnblogs.com/ytkah/p/11975373.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值