洞察趋势 多维度提升品牌价值

新闻动态

长沙蒲公英网络--云主机防篡改配置

所属栏目:发布日期:2017-09-12 14:15浏览量:1433作者:admin

一. 修改httpd.conf 添加:

LoadModule ap2_iguard3_module modules/mod_apache2_2_iguard3.so

LoadiGuardConfigFile etc/mod_iguard3.conf

EnableiGuardFileGuess On

 

二. 设置开机启动: /etc/rc.local 

#!/bin/sh

#

# This script will be executed *after* all the other init scripts.

# You can put your own initialization stuff in here if you don't

# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

/usr/local/iguard/syncserver/admtool start

nohup /usr/local/iguard/syncserver/run-check.sh &

 

三. 重启apache生效:

/opt/lampp/lampp apacherestart

通过apache配置防篡改协议,修改网站文件只能通过防篡改服务器进行.

如果直接在服务器上进行修改,防篡改服务器会将文件还原.如果文件不同步.可能会造成冲突,网站无法打开.

 

四. 卸载防篡改服务

1.注释httpd.conf

LoadModule ap2_iguard3_module modules/mod_apache2_2_iguard3.so

LoadiGuardConfigFile etc/mod_iguard3.conf

EnableiGuardFileGuess On

 

2.注释:/etc/rc.local 

/usr/local/iguard/syncserver/admtool start

nohup /usr/local/iguard/syncserver/run-check.sh &

 

3.执行:

/usr/local/iguard/syncserver/admtool stop

 

4.重启服务器

-长沙网站建设,长沙网站开发,长沙网站设计,长沙网站制作,长沙软件开发,长沙系统开发,长沙做网站公司,长沙蒲公英网络

准备好做出改变了吗?

让我们共同助力您的企业数字化革新

您希望我们为您提供什么服务呢

· · · · · · · · ·

0731-84069615

/

扫一扫
技术大牛与您直接沟通

用户中心