How to install Ntopng on Oracle Linux 9.3
- 00:44 cat /etc/os-release
- 01:04 dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
- 02:19 /usr/bin/crb enable
- 02:40 dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm
- 03:56 dnf install http://rpms.remirepo.net/enterprise/remi-release-9.rpm
- 04:25 curl https://packages.ntop.org/centos/ntop.repo > /etc/yum.repos.d/ntop.repo
- 04:40 dnf install pfring-dkms n2disk nprobe ntopng cento
- 06:59 systemctl start ntopng
- 07:17 systemctl enable ntopng
- 07:38 systemctl status ntopng
- 07:58 firewall-cmd --permanent --add-port=3000/tcp
- 08:29 firewall-cmd --reload
- 09:19 http://your-server-ip-address:3000
To Install Ntopng On Oracle Linux 9.3
Introduction:
NTOPNG is a sophisticated web-based network traffic monitoring application designed for high-performance capabilities. Acting as a passive network monitoring tool, it facilitates the statistical analysis of traffic data within the connected networks without actively interfering with the network traffic flow. Moreover, NTOPNG offers a user-friendly, encrypted web interface that allows users to seamlessly navigate through both real-time and historical traffic data.
Installation Steps:
Step 1: Check the OS version by using the below Command.
[root@linuxhelp ~]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="9.3"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Oracle Linux Server 9.3"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:9:3:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 9"
ORACLE_BUGZILLA_PRODUCT_VERSION=9.3
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=9.3
Step 2: Enable the EPEL and REMI Repository by using the below command
[root@linuxhelp ~]# dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
Oracle Linux 9 BaseOS Latest (x86_64) 13 kB/s | 3.6 kB 00:00
Oracle Linux 9 BaseOS Latest (x86_64) 9.8 MB/s | 25 MB 00:02
Oracle Linux 9 Application Stream Packages (x86_64) 25 kB/s | 3.9 kB 00:00
Oracle Linux 9 Application Stream Packages (x86_64) 14 MB/s | 34 MB 00:02
Oracle Linux 9 UEK Release 7 (x86_64) 19 kB/s | 3.0 kB 00:00
Oracle Linux 9 UEK Release 7 (x86_64) 16 MB/s | 33 MB 00:02
Last metadata expiration check: 0:00:09 ago on Sunday 19 May 2024 11:52:14 PM.
epel-release-latest-9.noarch.rpm 12 kB/s | 19 kB 00:01
Dependencies resolved.
========================================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================================
Installing:
epel-release noarch 9-7.el9 @commandline 19 k
Transaction Summary
========================================================================================================================================
Install 1 Package
Total size: 19 k
Installed size: 26 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : epel-release-9-7.el9.noarch 1/1
Running scriptlet: epel-release-9-7.el9.noarch 1/1
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.
Verifying : epel-release-9-7.el9.noarch 1/1
Installed:
epel-release-9-7.el9.noarch
Complete!
[root@linuxhelp ~]# /usr/bin/crb enable
Enabling CRB repo
CRB repo is enabled and named: ol9_codeready_builder
[root@linuxhelp ~]#
[root@linuxhelp ~]# dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm
Extra Packages for Enterprise Linux 9 - x86_64 450 kB/s | 21 MB 00:48
Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64 1.0 kB/s | 2.5 kB 00:02
Oracle Linux 9 BaseOS Latest (x86_64) 27 kB/s | 3.6 kB 00:00
Oracle Linux 9 Application Stream Packages (x86_64) 17 kB/s | 3.9 kB 00:00
Oracle Linux 9 CodeReady Builder (x86_64) - (Unsupported) 11 MB/s | 8.2 MB 00:00
epel-next-release-latest-9.noarch.rpm 9.4 kB/s | 8.2 kB 00:00
Dependencies resolved.
========================================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================================
Installing:
epel-next-release noarch 9-7.el9 @commandline 8.2 k
Transaction Summary
========================================================================================================================================
Install 1 Package
Total size: 8.2 k
Installed size: 3.1 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : epel-next-release-9-7.el9.noarch 1/1
Verifying : epel-next-release-9-7.el9.noarch 1/1
Installed:
epel-next-release-9-7.el9.noarch
Complete!
[root@linuxhelp ~]#
[root@linuxhelp ~]# dnf install http://rpms.remirepo.net/enterprise/remi-release-9.rpm
Extra Packages for Enterprise Linux 9 - Next - x86_64 154 kB/s | 613 kB 00:03
Last metadata expiration check: 0:00:03 ago on Sunday 19 May 2024 11:55:18 PM.
remi-release-9.rpm 55 kB/s | 30 kB 00:00
Dependencies resolved.
========================================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================================
Installing:
remi-release noarch 9.4-1.el9.remi @commandline 30 k
Transaction Summary
========================================================================================================================================
Install 1 Package
Total size: 30 k
Installed size: 30 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : remi-release-9.4-1.el9.remi.noarch 1/1
Verifying : remi-release-9.4-1.el9.remi.noarch 1/1
Installed:
remi-release-9.4-1.el9.remi.noarch
Complete!
Step 3: Add the Ntopng repository by using the below command.
[root@linuxhelp ~]# curl https://packages.ntop.org/centos/ntop.repo > /etc/yum.repos.d/ntop.repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 340 100 340 0 0 345 0 --:--:-- --:--:-- --:--:-- 345
Step 4: After the repository has been added, install Ntopng by using the below command.
[root@linuxhelp ~]# dnf install pfring-dkms n2disk nprobe ntopng cento
ntop packages 12 kB/s | 24 kB 00:01
ntop packages 4.8 kB/s | 6.6 kB 00:01
Remi's Modular repository for Enterprise Linux 9 - x86_64 190 kB/s | 673 kB 00:03
Safe Remi's RPM repository for Enterprise Linux 9 - x86_64 349 kB/s | 995 kB 00:02
Last metadata expiration check: 0:00:01 ago on Sunday 19 May 2024 11:56:15 PM.
Dependencies resolved.
========================================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================================
Installing:
cento x86_64 1.21.240519-915 ntop 1.3 M
n2disk x86_64 3.7.240519-5505 ntop 1.3 M
nprobe x86_64 10.5.240519-8306 ntop 3.7 M
ntopng x86_64 6.1.240519-23474 ntop 9.1 M
pfring-dkms noarch 8.7.0.9114-dkms ntop-noarch 75 k
Installing dependencies:
bison x86_64 3.7.4-5.el9 ol9_appstream 1.0 M
dkms noarch 3.0.13-1.el9 epel 82 k
elfutils-libelf-devel x86_64 0.189-3.el9 ol9_appstream 30 k
flex x86_64 2.6.4-9.el9 ol9_appstream 341 k
gcc x86_64 11.4.1-2.1.0.1.el9 ol9_appstream 32 M
glibc-devel x86_64 2.34-83.0.1.el9_3.7 ol9_appstream 44 k
glibc-headers x86_64 2.34-83.0.1.el9_3.7 ol9_appstream 896 k
hiredis x86_64 1.0.2-1.el9 epel 43 k
kernel-core x86_64 5.14.0-427.16.1.el9_4 ol9_baseos_latest 21 M
kernel-devel x86_64 5.14.0-427.16.1.el9_4 ol9_appstream 37 M
kernel-devel-matched x86_64 5.14.0-427.16.1.el9_4 ol9_appstream 5.8 M
kernel-headers x86_64 5.14.0-427.16.1.el9_4 ol9_appstream 8.2 M
kernel-modules-core x86_64 5.14.0-427.16.1.el9_4 ol9_baseos_latest 35 M
libnetfilter_queue x86_64 1.0.5-1.el9 ol9_appstream 29 k
libnsl2 x86_64 2.0.0-1.el9 ol9_appstream 30 k
librdkafka x86_64 1.6.1-102.el9 ol9_appstream 674 k
libsodium x86_64 1.0.18-8.el9 epel 161 k
libunwind x86_64 1.6.2-1.el9 epel 67 k
libxcrypt-devel x86_64 4.4.18-3.el9 ol9_appstream 42 k
libzstd-devel x86_64 1.5.1-2.el9 ol9_appstream 51 k
m4 x86_64 1.4.19-1.el9 ol9_appstream 333 k
make x86_64 1:4.3-8.el9 ol9_baseos_latest 570 k
mariadb-connector-c-config noarch 3.2.6-1.el9_0 ol9_appstream 9.7 k
mysql-common x86_64 8.0.36-1.el9_3 ol9_appstream 101 k
mysql-libs x86_64 8.0.36-1.el9_3 ol9_codeready_builder 1.2 M
ndpi x86_64 4.9.0-4798 ntop 885 k
nodejs x86_64 1:16.20.2-4.0.1.el9_3 ol9_appstream 122 k
nodejs-libs x86_64 1:16.20.2-4.0.1.el9_3 ol9_appstream 14 M
ntop-license x86_64 1.0-488 ntop 22 k
ntopng-data noarch 6.1.240519-23474 ntop-noarch 48 M
numactl x86_64 2.0.16-3.el9 ol9_baseos_latest 80 k
openpgm x86_64 5.2.122-28.el9 epel 176 k
openssl-devel x86_64 1:3.0.7-24.0.1.el9 ol9_appstream 3.7 M
pfring x86_64 8.7.0-9114 ntop 1.7 M
radcli x86_64 1.3.0-4.el9 epel 54 k
redis x86_64 6.2.7-1.el9 ol9_appstream 1.3 M
rrdtool x86_64 1.7.2-21.el9 ol9_appstream 577 k
tcp_wrappers-libs x86_64 7.6-97.el9 epel 64 k
zeromq x86_64 4.3.4-2.el9 epel 431 k
zlib-devel x86_64 1.2.11-40.el9 ol9_appstream 51 k
Installing weak dependencies:
nodejs-docs noarch 1:16.20.2-4.0.1.el9_3 ol9_appstream 7.8 M
nodejs-full-i18n x86_64 1:16.20.2-4.0.1.el9_3 ol9_appstream 8.2 M
npm x86_64 1:8.19.4-1.16.20.2.4.0.1.el9_3 ol9_appstream 3.4 M
Transaction Summary
========================================================================================================================================
Install 48 Packages
Total download size: 251 M
Installed size: 683 M
Is this ok [y/N]: y
Downloading Packages:
(1/48): dkms-3.0.13-1.el9.noarch.rpm 86 kB/s | 82 kB 00:00
(2/48): hiredis-1.0.2-1.el9.x86_64.rpm 38 kB/s | 43 kB 00:01
(3/48): libsodium-1.0.18-8.el9.x86_64.rpm 127 kB/s | 161 kB 00:01
(4/48): libunwind-1.6.2-1.el9.x86_64.rpm 101 kB/s | 67 kB 00:00
(5/48): radcli-1.3.0-4.el9.x86_64.rpm 37 kB/s | 54 kB 00:01
(6/48): tcp_wrappers-libs-7.6-97.el9.x86_64.rpm 35 kB/s | 64 kB 00:01
(7/48): openpgm-5.2.122-28.el9.x86_64.rpm 67 kB/s | 176 kB 00:02
(8/48): n2disk-3.7.240519-5505.x86_64.rpm 780 kB/s | 1.3 MB 00:01
(9/48): cento-1.21.240519-915.x86_64.rpm 630 kB/s | 1.3 MB 00:02
(10/48): zeromq-4.3.4-2.el9.x86_64.rpm 114 kB/s | 431 kB 00:03
(11/48): ntop-license-1.0-488.x86_64.rpm 27 kB/s | 22 kB 00:00
(12/48): nprobe-10.5.240519-8306.x86_64.rpm 2.0 MB/s | 3.7 MB 00:01
(13/48): ndpi-4.9.0-4798.x86_64.rpm 420 kB/s | 885 kB 00:02
(14/48): pfring-8.7.0-9114.x86_64.rpm 1.6 MB/s | 1.7 MB 00:01
(15/48): pfring-dkms-8.7.0.9114-dkms.noarch.rpm 372 kB/s | 75 kB 00:00
(16/48): kernel-core-5.14.0-427.16.1.el9_4.x86_64.rpm 14 MB/s | 21 MB 00:01
(17/48): ntopng-6.1.240519-23474.x86_64.rpm 2.8 MB/s | 9.1 MB 00:03
(18/48): make-4.3-8.el9.x86_64.rpm 858 kB/s | 570 kB 00:00
(19/48): numactl-2.0.16-3.el9.x86_64.rpm 356 kB/s | 80 kB 00:00
(20/48): bison-3.7.4-5.el9.x86_64.rpm 3.8 MB/s | 1.0 MB 00:00
(21/48): elfutils-libelf-devel-0.189-3.el9.x86_64.rpm 278 kB/s | 30 kB 00:00
(22/48): flex-2.6.4-9.el9.x86_64.rpm 2.4 MB/s | 341 kB 00:00
(23/48): kernel-modules-core-5.14.0-427.16.1.el9_4.x86_64.rpm 11 MB/s | 35 MB 00:03
(24/48): glibc-devel-2.34-83.0.1.el9_3.7.x86_64.rpm 384 kB/s | 44 kB 00:00
(25/48): glibc-headers-2.34-83.0.1.el9_3.7.x86_64.rpm 2.1 MB/s | 896 kB 00:00
(26/48): gcc-11.4.1-2.1.0.1.el9.x86_64.rpm 7.7 MB/s | 32 MB 00:04
(27/48): kernel-devel-matched-5.14.0-427.16.1.el9_4.x86_64.rpm 4.8 MB/s | 5.8 MB 00:01
(28/48): kernel-headers-5.14.0-427.16.1.el9_4.x86_64.rpm 6.4 MB/s | 8.2 MB 00:01
(29/48): libnetfilter_queue-1.0.5-1.el9.x86_64.rpm 382 kB/s | 29 kB 00:00
(30/48): libnsl2-2.0.0-1.el9.x86_64.rpm 169 kB/s | 30 kB 00:00
(31/48): kernel-devel-5.14.0-427.16.1.el9_4.x86_64.rpm 5.0 MB/s | 37 MB 00:07
(32/48): librdkafka-1.6.1-102.el9.x86_64.rpm 244 kB/s | 674 kB 00:02
(33/48): libxcrypt-devel-4.4.18-3.el9.x86_64.rpm 135 kB/s | 42 kB 00:00
(34/48): m4-1.4.19-1.el9.x86_64.rpm 1.0 MB/s | 333 kB 00:00
(35/48): mariadb-connector-c-config-3.2.6-1.el9_0.noarch.rpm 32 kB/s | 9.7 kB 00:00
(36/48): mysql-common-8.0.36-1.el9_3.x86_64.rpm 358 kB/s | 101 kB 00:00
(37/48): nodejs-16.20.2-4.0.1.el9_3.x86_64.rpm 186 kB/s | 122 kB 00:00
(38/48): nodejs-docs-16.20.2-4.0.1.el9_3.noarch.rpm 6.6 MB/s | 7.8 MB 00:01
(39/48): libzstd-devel-1.5.1-2.el9.x86_64.rpm 17 kB/s | 51 kB 00:02
(40/48): nodejs-full-i18n-16.20.2-4.0.1.el9_3.x86_64.rpm 7.9 MB/s | 8.2 MB 00:01
(41/48): npm-8.19.4-1.16.20.2.4.0.1.el9_3.x86_64.rpm 3.8 MB/s | 3.4 MB 00:00
(42/48): nodejs-libs-16.20.2-4.0.1.el9_3.x86_64.rpm 4.0 MB/s | 14 MB 00:03
(43/48): redis-6.2.7-1.el9.x86_64.rpm 7.8 MB/s | 1.3 MB 00:00
(44/48): openssl-devel-3.0.7-24.0.1.el9.x86_64.rpm 1.7 MB/s | 3.7 MB 00:02
(45/48): rrdtool-1.7.2-21.el9.x86_64.rpm 845 kB/s | 577 kB 00:00
(46/48): zlib-devel-1.2.11-40.el9.x86_64.rpm 82 kB/s | 51 kB 00:00
(47/48): mysql-libs-8.0.36-1.el9_3.x86_64.rpm 3.9 MB/s | 1.2 MB 00:00
(48/48): ntopng-data-6.1.240519-23474.noarch.rpm 1.3 MB/s | 48 MB 00:36
----------------------------------------------------------------------------------------------------------------------------------------
Total 5.5 MB/s | 251 MB 00:45
Extra Packages for Enterprise Linux 9 - x86_64 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x3228467C:
Userid : "Fedora (epel9) <epel@fedoraproject.org>"
Fingerprint: FF8A D134 4597 106E CE81 3B91 8A38 72BF 3228 467C
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
Is this ok [y/N]: y
Key imported successfully
ntop packages 3.2 kB/s | 3.0 kB 00:00
Importing GPG key 0x924F7599:
Userid : "Luca Deri <deri@ntop.org>"
Fingerprint: 8E07 231F 0575 7F56 FECE 3977 3D84 C955 924F 7599
From : https://packages.ntop.org/centos/RPM-GPG-KEY-deri
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Running scriptlet: npm-1:8.19.4-1.16.20.2.4.0.1.el9_3.x86_64 1/1
Preparing : 1/1
Installing : numactl-2.0.16-3.el9.x86_64 1/48
Running scriptlet: numactl-2.0.16-3.el9.x86_64 1/48
Running scriptlet: ndpi-4.9.0-4798.x86_64 2/48
Installing : ndpi-4.9.0-4798.x86_64 2/48
Running scriptlet: ndpi-4.9.0-4798.x86_64 2/48
Installing : glibc-headers-2.34-83.0.1.el9_3.7.x86_64 33/48
Installing : libxcrypt-devel-4.4.18-3.el9.x86_64 34/48
Installing : glibc-devel-2.34-83.0.1.el9_3.7.x86_64 35/48
Installing : gcc-11.4.1-2.1.0.1.el9.x86_64 36/48
Installing : kernel-devel-5.14.0-427.16.1.el9_4.x86_64 37/48
Running scriptlet: kernel-devel-5.14.0-427.16.1.el9_4.x86_64 37/48
Installing : kernel-devel-matched-5.14.0-427.16.1.el9_4.x86_64 38/48
Installing : dkms-3.0.13-1.el9.noarch 39/48
Running scriptlet: dkms-3.0.13-1.el9.noarch 39/48
Installing : radcli-1.3.0-4.el9.x86_64 40/48
Installing : openpgm-5.2.122-28.el9.x86_64 41/48
Installing : libunwind-1.6.2-1.el9.x86_64 42/48
Installing : zeromq-4.3.4-2.el9.x86_64 43/48
Running scriptlet: cento-1.21.240519-915.x86_64 44/48
Creating cento user
cento user successfully created
usermod: no changes
Installing : cento-1.21.240519-915.x86_64 44/48
Running scriptlet: cento-1.21.240519-915.x86_64 44/48
NOTE
cento licenses are perpetual and include 1 year maintenance/updates:
you can use the software even after maintenance is expired, however updating it after
1 year would prevent the application from running. If you have automatic updates enabled,
and maintenance is expired, it is recommended to put the package updates on hold by adding
the "exclude=cento*" directive in /etc/yum.conf. Alternatively it is possible to install
the versionlock plugin with "yum install yum-plugin-versionlock" and lock the cento
version with "yum versionlock cento" (it can be unlocked with "yum versionlock clear")
Running scriptlet: n2disk-3.7.240519-5505.x86_64 45/48
Creating n2disk user
usermod: no changes
Installing : n2disk-3.7.240519-5505.x86_64 45/48
Running scriptlet: n2disk-3.7.240519-5505.x86_64 45/48
NOTE
n2disk licenses are perpetual and include 1 year maintenance/updates:
you can use the software even after maintenance is expired, however updating it after
1 year would prevent the application from running. If you have automatic updates enabled,
and maintenance is expired, it is recommended to put the package updates on hold by adding
the "exclude=n2disk*" directive in /etc/yum.conf. Alternatively it is possible to install
the versionlock plugin with "yum install yum-plugin-versionlock" and lock the n2disk
version with "yum versionlock n2disk" (it can be unlocked with "yum versionlock clear")
Running scriptlet: nprobe-10.5.240519-8306.x86_64 46/48
Creating nprobe user
usermod: no changes
Installing : nprobe-10.5.240519-8306.x86_64 46/48
Running scriptlet: nprobe-10.5.240519-8306.x86_64 46/48
NOTE
nprobe licenses are perpetual and include 1 year maintenance/updates:
you can use the software even after maintenance is expired, however updating it after
1 year would prevent the application from running. If you have automatic updates enabled,
and maintenance is expired, it is recommended to put the package updates on hold by adding
the "exclude=nprobe*" directive in /etc/yum.conf. Alternatively it is possible to install
the versionlock plugin with "yum install yum-plugin-versionlock" and lock the nprobe
version with "yum versionlock nprobe" (it can be unlocked with "yum versionlock clear")
Running scriptlet: ntopng-6.1.240519-23474.x86_64 47/48
Creating ntopng user...
usermod: no changes
Adding user ntopng to group systemd-journal...
Installing : ntopng-6.1.240519-23474.x86_64 47/48
warning: group ntopng does not exist - using root
Running scriptlet: ntopng-6.1.240519-23474.x86_64 47/48
/bin/chown: invalid group: ‘ntopng:ntopng’
/bin/chown: invalid group: ‘ntopng:ntopng’
NOTE
ntopng Community does not require a license.
ntopng Pro/Enterprise licenses are perpetual and include 1 year maintenance/updates:
you can use the software even after maintenance is expired, however updating it after
1 year would prevent ntopng from running. If you have automatic updates enabled, and
maintenance is expired, it is recommended to put the package updates on hold by adding
the "exclude=ntopng*" directive in /etc/yum.conf. Alternatively it is possible to install
the versionlock plugin with "yum install yum-plugin-versionlock" and lock the ntopng
version with "yum versionlock ntopng" (it can be unlocked with "yum versionlock clear")
Running scriptlet: pfring-dkms-8.7.0.9114-dkms.noarch 48/48
Installing : pfring-dkms-8.7.0.9114-dkms.noarch 48/48
Running scriptlet: pfring-dkms-8.7.0.9114-dkms.noarch 48/48
Loading new pfring-8.7.0.9114 DKMS files...
Building for 5.15.0-101.103.2.1.el9uek.x86_64 5.14.0-427.16.1.el9_4.x86_64
Module build for kernel 5.15.0-101.103.2.1.el9uek.x86_64 was skipped since the
kernel headers for this kernel do not seem to be installed.
Building initial module for 5.14.0-427.16.1.el9_4.x86_64
Done.
pf_ring.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.14.0-427.16.1.el9_4.x86_64/extra/
Adding any weak-modules
depmod....
Running scriptlet: kernel-modules-core-5.14.0-427.16.1.el9_4.x86_64 48/48
Running scriptlet: kernel-core-5.14.0-427.16.1.el9_4.x86_64 48/48
dkms: running auto installation service for kernel 5.14.0-427.16.1.el9_4.x86_64
dkms: autoinstall for kernel 5.14.0-427.16.1.el9_4.x86_64 Done.
dracut: Disabling early microcode, because kernel does not support it. CONFIG_MICROCODE_[AMD|INTEL]!=y
dkms: running auto installation service for kernel 5.14.0-427.16.1.el9_4.x86_64
dkms: autoinstall for kernel 5.14.0-427.16.1.el9_4.x86_64 Done.
Running scriptlet: pfring-dkms-8.7.0.9114-dkms.noarch 48/48
Verifying : dkms-3.0.13-1.el9.noarch 1/48
Verifying : hiredis-1.0.2-1.el9.x86_64 2/48
Verifying : libsodium-1.0.18-8.el9.x86_64 3/48
Verifying : libunwind-1.6.2-1.el9.x86_64 4/48
Verifying : openpgm-5.2.122-28.el9.x86_64 5/48
Verifying : radcli-1.3.0-4.el9.x86_64 6/48
Verifying : tcp_wrappers-libs-7.6-97.el9.x86_64 7/48
Verifying : zeromq-4.3.4-2.el9.x86_64 8/48
Verifying : cento-1.21.240519-915.x86_64 9/48
Verifying : n2disk-3.7.240519-5505.x86_64 10/48
Verifying : ndpi-4.9.0-4798.x86_64 11/48
Verifying : nprobe-10.5.240519-8306.x86_64 12/48
Verifying : ntop-license-1.0-488.x86_64 13/48
Verifying : ntopng-6.1.240519-23474.x86_64 14/48
Verifying : pfring-8.7.0-9114.x86_64 15/48
Verifying : ntopng-data-6.1.240519-23474.noarch 16/48
Verifying : pfring-dkms-8.7.0.9114-dkms.noarch 17/48
Verifying : kernel-core-5.14.0-427.16.1.el9_4.x86_64 18/48
Verifying : kernel-modules-core-5.14.0-427.16.1.el9_4.x86_64 19/48
Verifying : make-1:4.3-8.el9.x86_64 20/48
Verifying : numactl-2.0.16-3.el9.x86_64 21/48
Verifying : bison-3.7.4-5.el9.x86_64 22/48
Verifying : elfutils-libelf-devel-0.189-3.el9.x86_64 23/48
Verifying : flex-2.6.4-9.el9.x86_64 24/48
Verifying : gcc-11.4.1-2.1.0.1.el9.x86_64 25/48
Verifying : glibc-devel-2.34-83.0.1.el9_3.7.x86_64 26/48
Verifying : glibc-headers-2.34-83.0.1.el9_3.7.x86_64 27/48
Verifying : kernel-devel-5.14.0-427.16.1.el9_4.x86_64 28/48
Verifying : kernel-devel-matched-5.14.0-427.16.1.el9_4.x86_64 29/48
Verifying : kernel-headers-5.14.0-427.16.1.el9_4.x86_64 30/48
Verifying : libnetfilter_queue-1.0.5-1.el9.x86_64 31/48
Verifying : libnsl2-2.0.0-1.el9.x86_64 32/48
Verifying : librdkafka-1.6.1-102.el9.x86_64 33/48
Verifying : libxcrypt-devel-4.4.18-3.el9.x86_64 34/48
Verifying : libzstd-devel-1.5.1-2.el9.x86_64 35/48
Verifying : m4-1.4.19-1.el9.x86_64 36/48
Verifying : mariadb-connector-c-config-3.2.6-1.el9_0.noarch 37/48
Verifying : mysql-common-8.0.36-1.el9_3.x86_64 38/48
Verifying : nodejs-1:16.20.2-4.0.1.el9_3.x86_64 39/48
Verifying : nodejs-docs-1:16.20.2-4.0.1.el9_3.noarch 40/48
Verifying : nodejs-full-i18n-1:16.20.2-4.0.1.el9_3.x86_64 41/48
Verifying : nodejs-libs-1:16.20.2-4.0.1.el9_3.x86_64 42/48
Verifying : npm-1:8.19.4-1.16.20.2.4.0.1.el9_3.x86_64 43/48
Verifying : openssl-devel-1:3.0.7-24.0.1.el9.x86_64 44/48
Verifying : redis-6.2.7-1.el9.x86_64 45/48
Verifying : rrdtool-1.7.2-21.el9.x86_64 46/48
Verifying : zlib-devel-1.2.11-40.el9.x86_64 47/48
Verifying : mysql-libs-8.0.36-1.el9_3.x86_64 48/48
Installed:
bison-3.7.4-5.el9.x86_64 cento-1.21.240519-915.x86_64
dkms-3.0.13-1.el9.noarch elfutils-libelf-devel-0.189-3.el9.x86_64
flex-2.6.4-9.el9.x86_64 gcc-11.4.1-2.1.0.1.el9.x86_64
glibc-devel-2.34-83.0.1.el9_3.7.x86_64 glibc-headers-2.34-83.0.1.el9_3.7.x86_64
hiredis-1.0.2-1.el9.x86_64 kernel-core-5.14.0-427.16.1.el9_4.x86_64
kernel-devel-5.14.0-427.16.1.el9_4.x86_64 kernel-devel-matched-5.14.0-427.16.1.el9_4.x86_64
kernel-headers-5.14.0-427.16.1.el9_4.x86_64 kernel-modules-core-5.14.0-427.16.1.el9_4.x86_64
libnetfilter_queue-1.0.5-1.el9.x86_64 libnsl2-2.0.0-1.el9.x86_64
librdkafka-1.6.1-102.el9.x86_64 libsodium-1.0.18-8.el9.x86_64
libunwind-1.6.2-1.el9.x86_64 libxcrypt-devel-4.4.18-3.el9.x86_64
libzstd-devel-1.5.1-2.el9.x86_64 m4-1.4.19-1.el9.x86_64
make-1:4.3-8.el9.x86_64 mariadb-connector-c-config-3.2.6-1.el9_0.noarch
mysql-common-8.0.36-1.el9_3.x86_64 mysql-libs-8.0.36-1.el9_3.x86_64
n2disk-3.7.240519-5505.x86_64 ndpi-4.9.0-4798.x86_64
nodejs-1:16.20.2-4.0.1.el9_3.x86_64 nodejs-docs-1:16.20.2-4.0.1.el9_3.noarch
nodejs-full-i18n-1:16.20.2-4.0.1.el9_3.x86_64 nodejs-libs-1:16.20.2-4.0.1.el9_3.x86_64
npm-1:8.19.4-1.16.20.2.4.0.1.el9_3.x86_64 nprobe-10.5.240519-8306.x86_64
ntop-license-1.0-488.x86_64 ntopng-6.1.240519-23474.x86_64
ntopng-data-6.1.240519-23474.noarch numactl-2.0.16-3.el9.x86_64
openpgm-5.2.122-28.el9.x86_64 openssl-devel-1:3.0.7-24.0.1.el9.x86_64
pfring-8.7.0-9114.x86_64 pfring-dkms-8.7.0.9114-dkms.noarch
radcli-1.3.0-4.el9.x86_64 redis-6.2.7-1.el9.x86_64
rrdtool-1.7.2-21.el9.x86_64 tcp_wrappers-libs-7.6-97.el9.x86_64
zeromq-4.3.4-2.el9.x86_64 zlib-devel-1.2.11-40.el9.x86_64
Complete!
Step 5: After the installation is complete, Enable (to start automatically upon system boot) and start Ntopng by using the below command.
[root@linuxhelp ~]# systemctl start ntopng
[root@linuxhelp ~]# systemctl enable ntopng
Created symlink /etc/systemd/system/multi-user.target.wants/ntopng.service → /usr/lib/systemd/system/ntopng.service.
Step 6: Verify the status of Ntopng by using the below command.
[root@linuxhelp ~]# systemctl status ntopng
● ntopng.service - ntopng high-speed web-based traffic monitoring and analysis tool
Loaded: loaded (/usr/lib/systemd/system/ntopng.service; enabled; preset: disabled)
Active: active (running) since Mon 2024-05-20 00:07:54 IST; 31s ago
Main PID: 142605 (ntopng)
Tasks: 13 (limit: 21644)
Memory: 86.2M
CPU: 3.564s
CGroup: /system.slice/ntopng.service
└─142605 /usr/bin/ntopng /run/ntopng.conf
May 20 00:07:58 linuxhelp ntopng[142605]: 20/May/2024 00:07:58 [Ntop.cpp:1014] Adding fe80::20c:29ff:fe5e:e325/128 as IPv6 interface ad>
May 20 00:07:58 linuxhelp ntopng[142605]: 20/May/2024 00:07:58 [Ntop.cpp:1026] Adding fe80::20c:29ff:fe5e:e325/64 as IPv6 local network>
May 20 00:08:00 linuxhelp ntopng[142605]: 20/May/2024 00:08:00 [PeriodicActivities.cpp:122] Started periodic activities loop...
May 20 00:08:01 linuxhelp ntopng[142605]: 20/May/2024 00:08:01 [startup.lua:36] Processing startup.lua: please hold on...
May 20 00:08:05 linuxhelp ntopng[142605]: 20/May/2024 00:08:05 [startup.lua:122] [lists_utils.lua:843] Refreshing category lists...
May 20 00:08:06 linuxhelp ntopng[142605]: 20/May/2024 00:08:06 [startup.lua:122] [lists_utils.lua:444] Updating list 'Abuse.ch URLhaus'>
May 20 00:08:07 linuxhelp ntopng[142605]: 20/May/2024 00:08:07 [startup.lua:122] [lists_utils.lua:444] Updating list 'Emerging Threats'>
May 20 00:08:07 linuxhelp ntopng[142605]: 20/May/2024 00:08:07 [startup.lua:122] [lists_utils.lua:444] Updating list 'IPsum Threat Inte>
May 20 00:08:08 linuxhelp ntopng[142605]: 20/May/2024 00:08:08 [startup.lua:122] [lists_utils.lua:444] Updating list 'NoCoin Filter Lis>
May 20 00:08:08 linuxhelp ntopng[142605]: 20/May/2024 00:08:08 [startup.lua:122] [lists_utils.lua:444] Updating list 'SSLBL Botnet C2 I>
Step 7: Ntopng listens on port 3000 by default, now allow it through the firewall.
[root@linuxhelp ~]# firewall-cmd --permanent --add-port=3000/tcp
success
Step 8: Reload the firewall by using the below command.
[root@linuxhelp ~]# firewall-cmd --reload
success
Step 9: Once the installation has completed, you can access the Ntopng application by visiting the following URL http://your-server-ip-address:3000. You will see the following page.
Login using the default credentials: admin:admin
Step 10: Reset the password
Step 11: This is the Ntopng Dashboard page
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to install Ntopng on Oracle Linux 9.3. Your feedback is much welcome.
Comments ( 1 )