How to install Ntopng on Ubuntu 18.04
Ntopng Installation on Ubuntu 18.04
Ntopng is the next generation version of the original ntop, a network traffic probe that monitors network usage. ntopng is based on libpcap and it has been written in a portable way in order to virtually run on every Unix platform, MacOSX and on Windows as well. Ntopng used to High-Speed Web-based Traffic Analysis and Flow Collection.
Use this command to update the repository files.
[email protected]:~# apt-get update Hit:1 https://deb.nodesource.com/node_10.x bionic InRelease Hit:2 http://in.archive.ubuntu.com/ubuntu bionic InRelease Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Get:4 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:5 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] . . . W: GPG error: https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9 E: The repository 'https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
To install the ntopng use the following command.
[email protected]:~# apt-get install ntopng Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libpython-stdlib python python-minimal python2.7 python2.7-minimal Use 'sudo apt autoremove' to remove them. . . . Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for systemd (237-3ubuntu10.9) ... Processing triggers for ureadahead (0.100.0-20) ...
Open the default configuration file and add a connection name.
[email protected]:~# vim /etc/ntopng.conf #DO NOT REMOVE the following option, required for daemonization. -e= #* Interfaces to sniff on: one interface per line, prefix with -i= #E.g. -i=ens33 #-i=wlan0 #If none is specified, ntopng will try to auto-detect the best interface. #* Port on which ntopng will listen for the web-UI. -w=3000
Restart the ntopng service.
[email protected]:~#systemctl restart ntopng
allow the port on firewall.
[email protected]:~# ufw allow 3000 Rules updated Rules updated (v6)
Now you can proceed the further installation and configuration from the browser by navigating to the following
URL: http://ip address (or) domain name:3000
Change the default admin password.
Here you can see the upload and download speed
Here you can see the upload and download size by hosts
Here you can see the upload and download size by ports
With this The method to install ntopng on ubuntu 18.04 comes to an end.