How to install NTopng on Debian 10?

Windows Articles

How to access System in Windows 10

Perhaps the title of this post is misleading. In previous versions of Windows, it was enough to enter the Control Panel and from there,...

Microsoft reduces the fragmentation of Windows 10

Windows 10 20H2 has been released as a minor operating system update. As a result, it has managed to reduce platform errors. In addition,...

How to install Nginx and PHP on FreeBSD?

Hello, friends. FreeBSD is a secure system even more than Linux, that's why it's used as the main server. And a server has to...

How to enable local port forwarding using Ubuntu 20.04 and ssh

SSH, a very popular tool found almost with every IT guy. Commonly, when we talk about the insecure network for data, ssh is the...

How to use CHKDSK in Windows 10

Hello! It is very important to ensure the integrity of the hard disk in the computer. Since it is an essential element for the...
angeloma
angeloma
Senior Writer and partner

Analyzing data for information can be a cumbersome task on a computer network. However, it can be easier if we have the necessary tools for it. As is ntopng that allows you to analyze the traffic of a network quickly and immediately, but also other things. In this post, we will show you how to install Ntopng on Debian 10.

In a simple and straightforward way, Ntopng is an application with a web interface that allows monitoring the traffic of a network. It has an open-source community version, released under the GPLv3 license and free for use. And it is considered a reference in this sector.

On the other hand, the application can be installed on Windows, Linux, and RaspberryPi. Within the Linux distributions, we find binaries for the most popular like Debian, Ubuntu, and CentOS. So availability is guaranteed.

So, some of its features include:

  • Traffic Analysis
  • Network Probe
  • Traffic Recording
  • Packet Capture

However, there are so many that I recommend you go to the project website to check them all.

So, let us install it.

Install Ntopng on Debian 10

The application has a repository dedicated to Debian 10 to facilitate the installation. This is the most efficient and secure method of installing Ntopng. Also, being added to the repository when there is an update we can get it from APT.

Then, let’s download a DEB package that adds and configures the Ntopng repository.

:~$ cd /tmp
:~$ wget http://apt.ntop.org/buster/all/apt-ntop.deb
1.- Add the ntopng repository on debian 10
1.- Add the ntopng repository on debian 10

Then, install GPG so that the repository can be added correctly.

:~$ sudo apt install gpg

Now install the downloaded package to add the repository.

:~$ sudo dpkg -i apt-ntop.deb
2.- The ntopng repository on debian 10
2.- The ntopng repository on debian 10

So, with the repository already added, we need to refresh the source of APT packages.

:~$ sudo apt update

Finally, install ntopng and some of its modules with the following command:

:~$ sudo apt install pfring-dkms nprobe ntopng n2disk cento
3.- Install ntopng on Debian 10
3.- Install ntopng on Debian 10

Before using the web interface, it is necessary to make some previous configurations. For example, indicate the port where it will run. To do this, just edit the configuration file of the application:

:~$ sudo nano /etc/ntopng/ntopng.conf
4.- Setting the application port
4.- Setting the application port

As you can see in the image the value of -w defines the port that will use the web interface. You can place the one you want, but remember to open it in the firewall.

Also, we need to create a new file to define the range of IP addresses of our network. Also the default or active network interface.

:~$ sudo nano /etc/ntopng/ntopng.start
5.- Configuring ntopng before use it
5.- Configuring ntopng before use it

Then, restart the service to apply the changes:

:~$ sudo systemctl restart ntopng

Now, open your web browser and go to http://your-server:[port] you will see the login page.

6.- ntopng log in page
6.- ntopng log in page

On the same page, you will see the default credentials. Username: admin and password: admin. Enter them. Then you can change it.

7.- Changing the default password
7.- Changing the default password

Finally, you will see the dashboard.

8.- Ntopng dashboard
8.- Ntopng dashboard

So, enjoy it.

Conclusion

Ntopng is a leader in high-level network monitoring. Thanks to its community version, it is possible to have it on our servers to help us with the task of monitoring the behavior of a network. Thanks to its repository in Debian we have been able to install it without major complications.

More articles

1 COMMENT

  1. hello
    i have a problem with the command
    sudo apt install pfring-dkms nprobe ntopng n2disk cento
    Lecture des listes de paquets… Fait
    Construction de l’arbre des dépendances
    Lecture des informations d’état… Fait
    E: Impossible de trouver le paquet nprobe
    E: Impossible de trouver le paquet n2disk
    E: Impossible de trouver le paquet cento
    ????

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to access System in Windows 10

Perhaps the title of this post is misleading. In previous versions of Windows, it was enough to enter the Control Panel and from there,...

Microsoft reduces the fragmentation of Windows 10

Windows 10 20H2 has been released as a minor operating system update. As a result, it has managed to reduce platform errors. In addition,...

How to install Nginx and PHP on FreeBSD?

Hello, friends. FreeBSD is a secure system even more than Linux, that's why it's used as the main server. And a server has to...

How to enable local port forwarding using Ubuntu 20.04 and ssh

SSH, a very popular tool found almost with every IT guy. Commonly, when we talk about the insecure network for data, ssh is the...

How to use CHKDSK in Windows 10

Hello! It is very important to ensure the integrity of the hard disk in the computer. Since it is an essential element for the...
x