This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

修性不修命,萬劫陰靈難入聖; 修命不修性,猶有家財無主柄
Album | Blog | Comment | Profile | Control Panel
aquatower | 9 September,2009 15:35
Bookmark: HemiDemi MyShare Baidu Google Bookmarks Yahoo! My Web Del.icio.us Digg technorati furl Bookmark to:YouPush Bookmark to:你推我報

Ntop安裝紀錄

FC9

1. 安裝套件
(1) gdbm , gdbm-devel
(2) gd, gd-devel
(3) libpng-devel
(4) zlib, zlib-devel
(5) rrdtool, rrd-devel
(6) libpcap
(7) libevent-devel

#yum install XXX

2.下載ntop-3.3.8.tar.gz
% 由於FC9的libevent的版本為 1.3
%若是安裝ntop-3.3.10.tar.gz,必須安裝libevent 1.4版以上才能正運作
%但此PC已運作NFS, 已用到libevent-devel 1.3, 故安裝ntop-3.3.8(支援libevent 1.3)

#tar zxvf ntop-3.3.8.tar.gz

#cd ntop-3.3.8
#./autogen.sh
%執行安裝前檢查, 若缺少那個套件會要求補裝, 補裝完後再執行一次 autogen.sh

%檢查完沒有問題
#make
#make install

3. 設定
建立ntop帳號
#useradd -s /sbin/nologin ntop
%nologin不允許使用telnet 或 ssh 登入系統, 以確保安全

工作目錄(make install完會自動建立)
#chown -R ntop:ntop /usr/local/share/ntop
#chown -R ntop:ntop /usr/local/var/ntop

第一次執行
#ntop -u ntop -A
%設定admin的密碼, 以後不會再詢問

4. 測試
#ntop -u ntop &
#ps aux|grep ntop(看是否有在執行)

網頁
http://IP:3000
(注意: iptables是否有open)




Comment

Trackback

Comment Permissions: Only members may comment. If you are not a PIXNET member, click here to sign up.