sudo apt-get install cvs
user# mkdir cvsntop
user# cd cvsntop
us# export CVSROOT=:pserver:anonymous@cvs.ntop.org:/export/home/ntop
user# cvs login
Logging in to :pserver:anonymous@cvs.ntop.org:2401/export/home/ntop
CVS password:
user# cvs checkout ntop
cvs checkout: Updating ntop
U ntop/AS-list.txt.gz
U ntop/AUTHORS
....
Quelques dizaines de minutes plus tard on peut commencer le vrai travail d'installation:
If you want to program with C/C++ please do the following:
sudo apt-get install build-essential
nous voilà avec un compilateur gcc avec support c++
(apt-get install gcc cpp marche moins bien)
ensuite apt-get install libpcap-dev libgdbm-dev libgd-dev libglib2.0-dev libgdome2-dev libssl-dev libxml-dev libsp-gxmlcpp-dev libgdome2-xslt-dev libwww-dev libgtk1.2-dev libsctp-dev libxml++2.6-dev
./configure --enable-i18n
make
make install
NOTE: ntop can show traffic by AS (Autonomous System) Number
Because this feature consumes a number of MB of memory,
the datafile is not installed by default.
Which, if there is no file - from this or a previous
install - effectively disables the ASN feature.
To install the AS data, type:
# make install-data-as
************************************************************
************************************************************
WARNING: This install created several directories for the ntop
files and databases:
/usr/local/share/ntop
/usr/local/var/ntop
/usr/local/lib/ntop
/usr/local/bin/ntop
This directory MUST be owned by the user
which you are going to use to run ntop.
The command you must issue is something like:
chown -R ntop.ntop /usr/local/share/ntop
chown -R ntop.ntop /usr/local/var/ntop
chown -R ntop.ntop /usr/local/lib/ntop
chown -R ntop.ntop /usr/local/bin/ntop
man chown to check the syntax for YOUR system
la première fois démarrer ntop via
/usr/local/bin/ntop -u ntop
même si on a pas d'invite taper un mot de passe administrateur pour ntop
le retaper quand demandé
pour les fois suivantes démarrer ntop via:
/usr/local/bin/ntop -u ntop -d
firefox
http://localhost:3000/
Aucun commentaire:
Enregistrer un commentaire