Installing and Running ntop 2 on Amazon Linux OS

NTOP 2 is a great tool for linux monitoring. It`s focused on network and have all sorts of charts, visualization and network information you might need.

Today i will show how to install and run ntop2 on Amazon Linux OS(CentOS based) this is not a straight forward task because there are lots of dependencies.

This is very useful if you are doing Stress Tests or Network or Network Failure tests because you can see whats going on with plenty of details the whole thing is very colorful.

Installing NTOP 2 on Amazon Linux OS

How to Install NTOP 2 on Amazon Linux / CentOS?

sudo yum install -y libpcap-devel glib2-devel GeoIP-devel libxml2-devel libxml2-devel redis wget
sudo yum install -y gcc gcc-c++ make libpcap libpcap-devel gdbm-devel libgd-devel libpng-devel libtool
sudo yum install -y libtool-libs rrdtool  rrdtool-devel
sudo yum install -y git
git clone https://github.com/ntop/ntopng.git
cd ntopng/
git clone https://github.com/ntop/nDPI.git; cd nDPI; ./autogen.sh; make; cd ../ntopng
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make install
cd .. 
sudo yum install -t libcurl-devel
sudo yum install sqlite-devel
sudo ./autogen.sh
sudo ./configure
sudo make geoip
sudo make
sudo make install

sudo yum install -y gcc
wget http://download.redis.io/releases/redis-2.8.6.tar.gz
tar xzf redis-2.8.6.tar.gz
cd redis-2.8.6
sudo make
sudo make install
sudo cp ./src/redis-server /usr/local/bin/
sudo cp ./src/redis-cli /usr/local/bin/
sudo cp ./src/redis-check-dump /usr/local/bin/
sudo mkdir /etc/redis
sudo mkdir /var/redis

sudo mkdir /etc/ntopng -p
sudo -e /etc/ntopng/ntopng.start
--local-networks "192.168.1.0/24"
--interface 1

sudo -e /etc/ntopng/ntopng.conf
-G=/var/run/ntopng.pid <BR>

redis-server &
cd .. 
sudo ./ntopng --dont-change-user

GOTO: http://localhost:3000

view raw ntop2.md hosted with ❤ by GitHub
Them you can open NTOP 2 and see something like this:




Cheers,
Diego Pacheco

Popular posts from this blog

Having fun with Zig Language

C Unit Testing with Check

Cool Retro Terminal