網路監看 ntop3.3 安裝
在安裝 ntop3.3 時一直無法成功,後來在阿濤的blog找到安裝方法,原則上大部分是用 yum 安裝 rpm 檔,只有 ntop3.3 用 tgz 檔,自己編輯,做法如下:
- tar zxvf ntop-3.3.tar.gz
- cd ntop-3.3
- ./autogen.sh (有顯示任何 error ,就用 yum 安裝缺的 rpm,如果 yum找不到,就到 www.rpmfind.net 去找,然後用 rpm 安裝,在重覆執行 ./autogen.sh 直到成功,沒有 error
- make
- make install
- cp packages/RedHat/ntop.conf.sample /etc/ntop.conf
cp packages/RedHat/ntop.init /etc/init.d/ntop
chkconfig --add ntop - 因為是自己 complier ,所以 ntop 在 /usr/local/bin ,所以必須將 /etc/init.d/ntop 內的 /usr/bin/ntop 改成 /usr/local/bin/ntop 如下vi /etc/init.d/ntop
prog="/usr/local/ntop/bin/ntop"
pids=`ps axf | grep '\/usr\/local\/ntop\/bin\/ntop' | awk '{ printf(" %s", $1) }; END { print "" }'` - 設定一下conf 檔,就ok了
vi /etc/ntop.conf
--db-file-path /var/log/ntop
--interface eth0
-m 172.21.41.0/24
--trace-level 3
--http-server 3000
- 因為裝 ntop 是想要查看學校 cisco3750 ,而事前也請市網廖老師將 3-20 port mirror 到 21 port,可是如果將主機直接插在 21 port 則無法連到主機,後來請教市網廖老師才知道是要多插一塊網卡,不要設ip,然後將那塊卡插在 21 port 就好了,但是要記得如果那片卡是 eth1 ,那麼 /etc/ntop.conf 內的 -interface eth0 要改成 -interface eth1 監看 eth1 才可以,大致上這樣就可用了
- 再來就要開始研究 ntop 的使用了
迴響
網路監看 ntop3.3 安裝 | 豬窩
Very rɑpidly this weƅ pag wiⅼl be famous amjong all blog users, dսe to it'ѕ good content
網路監看 ntop3.3 安裝 | 豬窩
Remarkable! Its in fact amazing piece of writing, I have got much clear idea regarding from
this piece of writing.
網路監看 ntop3.3 安裝 | 豬窩
you're in reality a just right webmaster. The site
loading velocity is amazing. It kind of feels that you're doing any unique trick.
In addition, The contents are masterpiece. you've performed a fantastic process on this subject!
網路監看 ntop3.3 安裝 | 豬窩
I'd like to find out more? I'd want to find out some additional information.
網路監看 ntop3.3 安裝 | 豬窩
Cbd oil that works 2020
Appreciation to my father who informed me about this
web site, this weblog is truly amazing. best rated cbd oil http://j.mp/3drY6lE cbd oil
that works 2020 http://j.mp/3drY6lE