GIT – Let’s the latest NTONG, on by using to make it easy.

Note: NTOP must be installed on a 64-bit operating system.

  1. Create a repository for NTOP.

vi /etc/yum.repos.d/ntop.repo

[ntop]

name=ntop packages

baseurl=http://rpm.ntop.org/$releasever/$basearch/

enabled=1

gpgkey=http://www.nmon.net/centos/RPM-GPG-KEY-deri

  1. Add the EPEL repository, if it doesn’t already exist

rpm –Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

  1. Install the packages.

yum clean all

yum update

yum install pfring n2disk nProbe ntopng

  1. Set NTOP to start on boot.

chkconfig ntopng on

chkconfig redis on

  1. Download the GeoLite databases for GeoIP.

cd /usr/local/share/ntopng/httpdocs/geoip

wget http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz

gunzip GeoIPASNum.dat.gz

wget http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz

gunzip GeoIPASNumv6.dat.gz

wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

gunzip GeoLiteCity.dat.gz

wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz

gunzip GeoLiteCityv6.dat.gz

  1. Create the NTOP configuration directory and files.

mkdir /etc/ntopng

touch /etc/ntopng/ntopng.start

touch /etc/ntopng/ntopng.conf

vi /etc/ntopng/ntopng.start

–local-networks “your subnet here”

–interface 1

vi /etc/ntopng/ntopng.conf

-G=/var/run/ntopng.pid

  1. Start the services.

service redis start

service ntopng start (Note: At the time of writing “service ntopng stop” did not work.)

  1. Browse to the NTOP address.

http://yourserveraddress:3000

username: admin

password: admin

Print Friendly

Comments

comments

Bài viết liên quan