How to Install ntopng on CentOS 7

How to Install ntopng on CentOS 7

ntopng is the newer client to ntop and allows you to monitor your server’s resource usage using a graphical interface, unlike ntop which only provides a command line interface. We’re going to install the community version to monitor the resources on a new VPS server we created.

Firstly update the system. Each time you log in to your server you should get used to running the update commands to ensure you have the latest security patches and software fixes. Its advisable to reboot the system after an update

yum update -y; reboot


Install ntopng on CentOS 7

After reboot login to the server again and then we need to add the ntop repo to your system.

yum install nano -y ; nano /etc/yum.repos.d/ntop.repo

Copy the below code into the file you just opened with nano in the above command then save and close the file

name=ntop packages
name=ntop packages

Now install ntop and all the required dependencies

yum update; yum --enablerepo=epel install redis ntopng hiredis-devel

Once ntopng and all of it’s  its dependencies have been installed, you need to start the service and the ntopng service. This needs to be done one by one enabling each as you activate it:

systemctl start redis.service
systemctl enable redis.service
systemctl start ntopng.service
systemctl enable ntopng.service

Now you can check the status of the ntopng service to ensure its running in the server:

systemctl status ntopng.service

How to Install ntopng on CentOS 7

As you will see, the ntopng service is running but it displays a license error. You can fix the license error by modifying the ntopng configuration file:

nano /etc/ntopng/ntopng.conf

Before any edits the file looks like this:


Edit the file so it looks like this:



Now restart the ntopng service so your modifications to the configuration file are put into place:

systemctl restart ntopng.service


You can now access the admin interface for ntopng by navigating to your first2host servers IP followed by :3000. If at first, you can not connect to the interface check your firewall status. You need to allow traffic to port 3000. You can disable the firewall and try to connect again to see if you can then access the interface. If you can you know you need to allow port 3000



Log in using the default credentials username admin and the default password admin

How was this article?

How to Install ntopng on CentOS 7
6 5 100%

Dedicated Servers VPS Servers

Select Language
SSD NVMe VPS Server With Free cPanel License ★ 70% Faster Than SATA Storage ★ 30% Faster Than SSD Storage ★ 14 LocationsInstant Deployment