在redhat 9.0上直接可以安裝
在redhat ES 2.1上安裝,glibc的版本不對,要重新升級glibc.后來換到redhat9就可以直接安裝了.
=============================================================
一下載:
[root@SZMRTG root]# wget ftp://ftp.chg.ru/.5/sourceforge/n/nt/ntop/ntop-3.1-0.rh9.i386.rpm
--16:23:04-- ftp://ftp.chg.ru/.5/sourceforge/n/nt/ntop/ntop-3.1-0.rh9.i386.rpm
=> `ntop-3.1-0.rh9.i386.rpm'
Resolving ftp.chg.ru... done.
Connecting to ftp.chg.ru[193.233.9.194]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /.5/sourceforge/n/nt/ntop ... done.
==> PORT ... done. ==> RETR ntop-3.1-0.rh9.i386.rpm ... done.
Length: 5,337,343 (unauthoritative)
100%[========================================================================================>]
5,337,343
16:25:47 (11.09 MB/s) - `ntop-3.1-0.rh9.i386.rpm' saved [5337343]
二安裝
[root@firewall oracle]# ls
linux-live-
[root@firewall oracle]# rpm -ivh ntop-3.1-0.rh9.i386.rpm
Preparing... ########################################### [100%]
1:ntop ########################################### [100%]
***********************************************************************
***********************************************************************
***********************************************************************
* You must configure /etc/ntop.conf - see /etc/ntop.conf.sample *
* *
* (as root run) $ cp /etc/ntop.conf.sample /etc/ntop.conf *
* $ vi /etc/ntop.conf *
* *
***********************************************************************
* YOU MUST SETUP A PASSWORD BEFORE RUNNING NTOP *
* *
* (as root run) $ /usr/bin/ntop @/etc/ntop.conf -A *
* *
*
see 1STRUN.txt in /usr/share/doc/ntop-
***********************************************************************
***********************************************************************
Questions?
See the FAQ in /usr/share/doc/ntop-
可以查看文檔 /usr/share/doc/ntop-3.1/1STRUN.txt
第一次咝?
[root@firewall root]# /usr/bin/ntop -P /usr/share/ntop -u ntop -A
Mon Jan 24 09:15:29 2005 Initializing gdbm databases
Please enter the password for the admin user:
Please enter the password again:
Mon Jan 24 09:15:41 2005 Admin user password has been set
[root@firewall root]#
可以啟動ntop了
[root@firewall root]# /etc/init.d/ntop start
重新啟動:
[root@firewall root]# /etc/init.d/ntop restart
路由器上的配置
VPN-Router(config)#monitor session 1 source interface fastEthernet 3/9 both
VPN-Router(config)#monitor session 1 destination interface fastEthernet 3/14