How to install ntop on CentOS

How to install ntop on CentOS

Follow the following steps
1-  Install rpmforge repository:
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
Choose your CentOS vesion and install rpmforge repository
2- # yum install ntop
3-  There is a bug in the /etc/init.d/ntop startscript we need to fix.
#  nano  /etc/init.d/ntop
change the line at start function from:
daemon $prog -d -L @/etc/ntop.conf         TO          daemon $prog @/etc/ntop.conf -d -L
4- Set the admin password for the ntop
#   ntop @/etc/ntop.conf
5- Start ntop services
# service ntop start
6- Configure the ntop service to start at boot time
#  chkconfig –levels 35 ntop on
7-   Open a web browser  point to the ntop server on port 3000

http://192.168.1.10:3000

Note :- by default ntop capture all information from eth0

Leave a Comment