Ms7 Search
Google 搜尋 翻譯
calendar
« 四月 2025 »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
近期文章
文章分類
網站連結
Syndicate

« | »

網路監看 ntop3.3 安裝

2008-02-26 @ 20:16 in Linux

在安裝 ntop3.3 時一直無法成功,後來在阿濤的blog找到安裝方法,原則上大部分是用 yum 安裝 rpm 檔,只有 ntop3.3 用 tgz 檔,自己編輯,做法如下:

  1. tar zxvf ntop-3.3.tar.gz
  2. cd ntop-3.3
  3. ./autogen.sh  (有顯示任何 error ,就用 yum 安裝缺的 rpm,如果 yum找不到,就到 www.rpmfind.net 去找,然後用 rpm 安裝,在重覆執行 ./autogen.sh 直到成功,沒有 error
  4. make
  5. make install
  6. cp packages/RedHat/ntop.conf.sample /etc/ntop.conf
    cp packages/RedHat/ntop.init /etc/init.d/ntop
    chkconfig --add ntop
  7. 因為是自己 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 "" }'`
  8. 設定一下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

  9. 因為裝 ntop 是想要查看學校 cisco3750 ,而事前也請市網廖老師將 3-20  port  mirror 到  21  port,可是如果將主機直接插在 21 port 則無法連到主機,後來請教市網廖老師才知道是要多插一塊網卡,不要設ip,然後將那塊卡插在 21 port 就好了,但是要記得如果那片卡是 eth1 ,那麼 /etc/ntop.conf 內的 -interface eth0 要改成 -interface eth1 監看 eth1 才可以,大致上這樣就可用了
  10. 再來就要開始研究 ntop 的使用了

迴響

網路監看 ntop3.3 安裝 | 豬窩

Howdy would you mind stating which blog platform you're using?

I'm planning to start my own blog soon but I'm
having a hard time making a decision between BlogEngine/Wordpress/B2evolution and
Drupal. The reason I ask is because your design seems different then most blogs and I'm looking for
something completely unique. P.S Apologies for
getting off-topic but I had to ask!

作者 http://tinyurl.com @ 21:04, 2020-06-26

網路監看 ntop3.3 安裝 | 豬窩

Nice post. I was checking continuously this blog and I'm impressed!
Very helpful information specifically the last part :) I care for such information a lot.
I was seeking this particular information for a long time.
Thank you and good luck.

作者 cbd oil that works 2020 @ 18:14, 2020-06-27

網路監看 ntop3.3 安裝 | 豬窩

I am in fact grateful to the owner of this web page who has shared this wonderful article at
at this place.

作者 cbd oil that works 2020 @ 06:12, 2020-06-29

網路監看 ntop3.3 安裝 | 豬窩

Hey there! Quick question that's entirely off topic.
Do you know how to make your site mobile friendly?

My site looks weird when browsing from my iphone. I'm trying to find a
template or plugin that might be able to fix this issue.
If you have any recommendations, please share. Cheers!

作者 best web hosting @ 07:28, 2020-07-18

網路監看 ntop3.3 安裝 | 豬窩

Nice answer back in return of this query with real arguments
and explaining everything on the topic of that.

作者 best web hosting company @ 07:50, 2020-07-22
發表迴響
 authimage