Knowledge Base
MilesWeb / Dedicated Server FAQ, VPS FAQ

How to install ntop?

Approx. read time : 2 min

ntop is a network probe that shows network usage in a way similar to what top does for processes. In interactive mode, it displays the network status on the user’s terminal. In Web mode, it acts as a web server, creating a HTML dump of the network status. It is useful to monitor the network usage of server so that no bandwidth is over utilized.

Install required dependencies required to install ntop.

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

Download ntop from sourceforge & extract it.

# cd /usr/local/src/
# wget wget
# tar -zxvf ntop-4.0.1.tar.gz
# cd ntop-4.0.1

Let’s compile it now.

# ./
# make && make install

When compiling it, you might also receive the message “Please install GeoIP (“. This means GeoIP is not installed on your server. Install it from here

Start configure ntop so that statistics can be viewed/managed from your web browser. Add a user ntop and configure the password. You can then set the password so that nobody else configure it except the one who has login credentials. The default user created is admin.

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

Copy the configuration files at desired location and assign correct ownership.

# rsync -va /usr/local/src/ntop-4.0.1/* /usr/local/var/ntop/
# chown ntop:root /usr/local/var/ntop -R

Start service with command below.

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

You can access ntop using a web browser on port 3000. Example is Here is your server’s public IP address.

VPS hosting & Dedicated server plans support ntop installation. Contact our helpful support team, they will install it for you on request.


With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.