To install ntop on Red Hat Enterprise Linux (RHEL) or CentOS, you will need to have root privileges or access to a user with sudo privileges.
sudo yum update
sudo yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
sudo yum install ntop
sudo service ntop start
sudo chkconfig ntop on
That's it! ntop should now be installed on your RHEL or CentOS system. You can access the ntop web interface by opening a web browser and going to the following URL:
Note: If you are using a firewall, you may need to allow traffic to the ntop port (3000 by default). To do this, run the following commands:
sudo firewall-cmd --permanent --add-port=3000/tcp sudo firewall-cmd --reload