ntopng on CentOS 8 LXC

At the time of this writing, I could not find a Docker container for ntopng community edition. The install guide seem to be pretty easy, but I encountered an issue where I could not install these packages pfring-dkms, n2disk, nprobe, ntopng and cento. I just want to share how I got this working.

Update the CentOS 8 LXC and install tmux, vim, and openssh-server.

yum update -y
yum install -y epel-release
yum install -y tmux vim openssh-server

Start and enable the sshd to allow us to SSH-in to the container.

systemctl start sshd
systemctl enable sshd

SSH-in to the CentOS LXC then execute the tmux, so that just in case we get disconnected we can continue our session by using the tmux attach command.


Navigate to the /etc/yum.repos.d/ and download the ntop.repo. Once done, install the latest epel-release for CentOS 8 via rpm.

cd /etc/yum.repos.d/ 
wget http://packages.ntop.org/centos-stable/ntop.repo -O ntop.repo 
rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm 

Installing what is needed for ntop will take awhile, I would suggest to use tmux as mentioned earlier.

yum erase zeromq3
yum clean all
yum install -y pfring-dkms n2disk nprobe ntopng cento 

Once the installation is complete, start the ntopng service and enable the ntopng service.

systemctl start ntopng
systemctl enable ntopng

This is optional. See it here: https://www.ntop.org/products/packet-capture/pf_ring/pf_ring-zc-zero-copy/

yum install -y pfring-drivers-zc-dkms 

At this point, navigate to the web UI via http://<ip-address>:3000.

  • Login with admin/admin as shown in Figure 1
  • The next page will prompt your to change the admin password
Figure 1

Hope you’ll find this usefull. Cheers!

Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
WordPress Appliance - Powered by TurnKey Linux