Installing ntopng on CWP

How to Install

yum install -y subversion autoconf automake make gcc tcpdump libpcap-devel libxml2-devel sqlite-devel libtool glib2-devel gcc-c++ libmaxminddb-devel
yum --enablerepo=epel install redis -y
useradd -d /var/lib/ntopng ntopng
mkdir -p /etc/ntopng


Install Supported dependency

cd /usr/local/src
git clone
cd nDPI


Install Ntopng

cd /usr/local/src
git clone
cd ntopng
make install
/usr/bin/gmake geoip


Setup Additional requirements

cp /usr/local/src/ntopng/httpdocs/misc/ntopng-utils-manage-config /usr/bin/ntopng-utils-manage-config


Copy and paste all lines not one by one.

cat > /etc/ntopng/ntopng.conf << "EOF"


Setup Startup Service

centos 6

cp /usr/local/src/ntopng/packages/etc/init.d/ntopng /etc/init.d/ntopng
touch /etc/ntopng/ntopng.start
ln -s /usr/local/bin/ntopng /usr/bin/ntopng

centos 7

cp /usr/local/src/ntopng/packages/etc/systemd/system/ntopng.service /usr/lib/systemd/system/ntopng.service


Start Services

service redis start
service ntopng start

  • 0 Users Found This Useful
Was this answer helpful?