網路監看 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 安裝 | 豬窩
constantly i used to read smaller content which also clear their motive, and that is also happening with this
article which I am reading now.
網路監看 ntop3.3 安裝 | 豬窩
Hey! I know this is kinda off topic however I'd figured I'd ask.
Would you be interested in trading links or maybe guest authoring a
blog article or vice-versa? My site goes over a lot of
the same topics as yours and I think we could greatly benefit from
each other. If you're interested feel free to shoot
me an e-mail. I look forward to hearing from you! Superb blog by the way!
網路監看 ntop3.3 安裝 | 豬窩
Hi there! I realize this is sort of off-topic however I
needed to ask. Does running a well-established
website like yours require a lot of work? I am brand new to
operating a blog but I do write in my diary daily.
I'd like to start a blog so I can share my personal experience and feelings
online. Please let me know if you have any kind of recommendations or tips
for brand new aspiring blog owners. Thankyou!
網路監看 ntop3.3 安裝 | 豬窩
Excellent web site you have here.. It's hard to find quality
writing like yours nowadays. I seriously appreciate individuals like
you! Take care!!
網路監看 ntop3.3 安裝 | 豬窩
My partner and I absolutely love your blog and find a lot of your post's to be what precisely I'm looking for.
Do you offer guest writers to write content available for you?
I wouldn't mind composing a post or elaborating on a few of the subjects you write with regards to here.
Again, awesome weblog!