install on centos 5.x using ntop 3.3.8-2.el5.rf

#yum install ntop

make sure you also rpmforge.repo

installation will try to find depedency :

chkfontpath
gettext
libFS
libXfont
libdbi
libfontenc
libpcap
perl-rrdtool
rrdtool
ruby
ruby-libs
ttmkfdir
xorg-x11-font-utils
xorg-x11-fonts-Type1
xorg-x11-xfs

wait for 5 minute, take coffe & cigarette 😛

after that it will ask for password and start to setup again

try to start it
#/etc/init.d/ntop start

if  you encounter error like this :
FATAL ERROR: Unrecognized/unprocessed ntop options

try to fix it :
##vi /etc/init.d/ntop

search this value : daemon $prog -d -L @/etc/ntop.conf
change it with  :
daemon $prog @/etc/ntop.conf -d -L
credit for
tgh at tgharold

try to start it again.
You can acces it from http://server-ip:3000/

Iklan