构建网络安全长城之烽火台的建立(7)

**10、安装并配置Acid:

** A.安装Acid

[root@netserver htdocs]#cd /root/ids/
[root@netserver ids]#cp acid-0.9.6b23.tar.gz /www/htdocs
[root@netserver ids]#cd /www/htdocs
[root@netserver htdocs]#tar -xvzf acid-0.9.6b23.tar.gz
[root@netserver htdocs]#rm -rf acid-0.9.6b23.tar.gz

B.编辑acid的配置文件acid_conf.php

[root@netserver htdocs]#vi acid/acid_conf.php

修改下列行为下面这样

$DBlib_path = "/www/htdocs/adodb"
$DBtype = " mysql"
$alert_dbname = "snort"
$alert_host = "localhost"
$alert_port = " "
$alert_user = "snort"
$alert_password = "(你的MySQL中snort的密码)"
$archive_dbname = "snort"
$archive_host = "localhost"
$archive_port = " "
$archive_user = "snort"
$archive_password = "(你的MySQL中snort的密码)"
$ChartLib_path = "/www/htdocs/jpgraph-1.13/src"
$chart_file_format = "png"

设置完了后,你就可以通过http://你的ip/acid/acid_main.php . 看到页面了,之后点 ";Setup Page";按纽,转换页面后,点击";Create Acid AG 按纽。好了,现在访问http://你的IP/acid/ 看看我们是不是出来一个表单了??然后从新启动系统,如果再次访问这个页面,如果有看到类似(图1)这样的画面。恭喜你,你的网络烽火台已经建立成功了!

图 1

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus