Installing Ntop-NG1.1 Debian 6x or 7x

Installation

First, Install the following packages:
$ apt-get install subversion libpcap-dev libglib2.0-dev libgeoip-dev wget libxml2-dev libsqlite3-dev dh-autoreconf autoconf2.13 lua5.1

Once installed, you must edit and add  the following backports line to /etc/apt/sources.list
deb http://backports.debian.org/debian-backports squeeze-backports mainvisit website

Run update for backports
$ apt-get update

Once everything is installed, run the following to get the proper version of  redis-server:
$ apt-get -t squeeze-backports install redis-server

Now to download the latest build of Ntop-ng1.1 using subversion:
$ svn co https://svn.ntop.org/svn/ntop/trunk/ntopng/

Change into your ntopng directory and run the following commands:
$ ./autogen.sh
$ ./configure
$ make
$ make install
$ make geoip

Download ntopng-data-1.1_6932.tgz with wget:
wget http://downloads.sourceforge.net/project/ntop/ntopng/ntopng-data-1.1_6932.tgz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fntop%2Ffiles%2Fntopng%2F&ts=1407436613&use_mirror=hivelocity

$ tar xvfvz ntopng-data-1.1_6932.tgz
$ cd ntopng-data-1.1_6932
$ cp -r ./usr/* /usr

Configuration

$ mkdir -p /etc/ntopng/data

Create /etc/ntopng/ntopng.start and add the following:
–local-networks “192.168.1.0/24”
–interface eth0

Create /etc/ntopng/ntopng.conf and add the following:
-G=/var/run/ntopng.pid
–dump-flows=/etc/ntopng/data

Starting Ntop-NG

$ /usr/local/bin/ntopng –daemon &

Add the following to /etc/rc.local to start Ntop-NG on startup:
#Starts ntop-ng
/usr/local/bin/ntopng –daemon

Web GUI

http://hostname:3000/
Default Username: admin
Default Password: admin