Ntopng installation ubuntu: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Thomas (Diskussion | Beiträge)
Thomas (Diskussion | Beiträge)
Zeile 20: Zeile 20:
*touch /etc/ntopng/ntopng.conf /etc/ntopng/ntopng.start
*touch /etc/ntopng/ntopng.conf /etc/ntopng/ntopng.start
==cat  ntopng.conf==  
==cat  ntopng.conf==  
<pre>
-G=/var/tmp/ntopng.pid
-G=/var/tmp/ntopng.pid
-F db
-F db
Zeile 27: Zeile 28:
-m "192.168.240.0/21"
-m "192.168.240.0/21"
-H
-H
</pre>
==Description==
==Description==
*-F db - "store the historical data in sqlite format"   
*-F db - "store the historical data in sqlite format"   

Version vom 20. November 2014, 11:26 Uhr

In order to use this repository do (as root)

12.04 LTS

14.04 LTS

Debian 7.6 (stable)

then run

  • apt-get clean all
  • apt-get update
  • apt-get install pfring nprobe ntopng ntopng-data n2disk nbox

You can (optionally) install the ZC and/or DNA drivers as follows

  • apt-get install pfring-drivers-zc-dkms
  • apt-get install pfring-drivers-dna-dkms

create the config files

  • touch /etc/ntopng/ntopng.conf /etc/ntopng/ntopng.start

cat ntopng.conf

-G=/var/tmp/ntopng.pid
-F db
-d /var/tmp/ntopng
-i eth0
-i ppp0
-m "192.168.240.0/21"
-H

Description

  • -F db - "store the historical data in sqlite format"
  • -d /var/tmp/ntopng - "location of sqlite data"
  • -i eth0 - "listen on eth0"
  • -i ppp0 - "listen on ppp0"
  • -m "192.168.240.0/21" - "definition of the local net"
  • -H - "Disable alerts generation"

From: