Install ntop for Centos|fedora|RHEL

Ntop is a network traffic probe that shows the network usage, similar to what the popular top Unix command does.but the positive side is that you can use a web browser to manage and navigate through ntop traffic information to better understand network status. Ntop is based on libpcap and it has been written in a portable way in order to virtually run on every Unix platform.

1- Install the required dependencies to install Ntop:

yum install   gcc gcc-c++ make libpcap libpcap-devel gdbm-devel libgd-devel libpng-devel libtool 
libtool-libs rrdtool  rrdtool-devel

2- Now download and extract the latest version of ntop tool



tar -xvf ntop-3.3.9.tar.gz 

then go to the extracted folder

 cd ntop-3.3.9

3- Now run the installation of Ntop :


4- Now use make



make install

6-create ntop user :

# useradd -M -s /sbin/nologin -r ntop

7-setup permioon for the ntop directories :

# chown ntop:root /usr/local/var/ntop/

 # chown ntop:ntop /usr/local/share/ntop/

8- setup ntop Admojn password

#ntop -A

9-start the ntop deamon :

# /usr/local/bin/ntop -d -L -u ntop -P /usr/local/var/ntop --skip-version-check   --use-syslog=daemon


10- now open your browser with port 3000

http://localhost:3000/ or  http://ip:3000

And is done.


6 Comments on this Post

  1. Sharad Bhise

    [b][size=x-small][color=blue]Dear Team,
    I am facing some issue with after

    Its run & at the end I get like the posted one
    Removing dups and misplaced entries from LIBS and INCS…
    checking for GeoIP_record_by_ipnum in -lGeoIP… no
    checking for GeoIP_name_by_ipnum_v6 in -lGeoIP… no
    Please install GeoIP (

    & when I did make its give like error like given below

    [root@lion ntop]# make
    make: *** No targets specified and no makefile found. Stop.

    there are,, Makefile.mingw
    But no Makefile is generated after ./

    I am using ntop-4.0.3.tgz & ntop-4.0.tgz & checked on 2 linux (Centos 5.5)


  2. I got that too, you need geoip-devel installed as well. Then autogen will finish running and create the make scripts.

  3. Muito bom o artigo, depois de muitos tentar com varios outros em sucesso, apenas o link de download que esta quebrado, usei este aqui:


  4. Nn_gul1988


    for such gre8 information 


  5. Wow, thank you very much this was of great help!

  6. Ideapalani

    Thank you so much

Leave a Comment