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