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 安裝 | 豬窩

Very rɑpidly this weƅ pag wiⅼl be famous amjong all blog users, dսe to it'ѕ good content

作者 tap sports baseball 2017 cheats @ 11:03, 2017-05-16

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

Remarkable! Its in fact amazing piece of writing, I have got much clear idea regarding from
this piece of writing.

作者 g give @ 02:53, 2020-06-21

網路監看 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!

作者 g give @ 21:11, 2020-06-21

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

I'd like to find out more? I'd want to find out some additional information.

作者 https://tinyurl.com/rsacwgxy g @ 19:33, 2020-06-23

網路監看 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

作者 http://j.mp/3drY6lE @ 09:04, 2020-06-24
發表迴響
 authimage