Difference between revisions of "Instalasi NTOP"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 20: | Line 20: | ||
mkdir /var/lib/ntop/rrd/interfaces/wlan2 | mkdir /var/lib/ntop/rrd/interfaces/wlan2 | ||
chown -Rf ntop.root /var/lib/ntop | chown -Rf ntop.root /var/lib/ntop | ||
− | chmod -Rf 777 /var/lib/ntop/rrd | + | # ini cukup berbahaya, tapi memudahkan ntop :) |
+ | chmod -Rf 777 /var/lib/ntop/rrd | ||
+ | chmod -Rf 777 /var/lib/ntop/interfaces | ||
Set password administrator NTOP | Set password administrator NTOP |
Revision as of 11:31, 3 June 2010
Siapkan dependencies ..
# apt-get install rrdcollect rrdtool rrdtool-tcl
Install NTOP
# apt-get install ntop
Ini agak aneh, ternyata NTOP tidak menyediakan folder yang dibutuhkannya. Jadi kita harus menyediakan secara manual ..
mkdir /var/lib/ntop/rrd mkdir /var/lib/ntop/rrd/graphics mkdir /var/lib/ntop/rrd/flows mkdir /var/lib/ntop/rrd/interfaces mkdir /var/lib/ntop/rrd/interfaces/eth0 mkdir /var/lib/ntop/rrd/interfaces/eth1 mkdir /var/lib/ntop/rrd/interfaces/eth2 mkdir /var/lib/ntop/rrd/interfaces/wlan0 mkdir /var/lib/ntop/rrd/interfaces/wlan1 mkdir /var/lib/ntop/rrd/interfaces/wlan2 chown -Rf ntop.root /var/lib/ntop # ini cukup berbahaya, tapi memudahkan ntop :) chmod -Rf 777 /var/lib/ntop/rrd chmod -Rf 777 /var/lib/ntop/interfaces
Set password administrator NTOP
# ntop --set-admin-password passwordadmin
Jalankan NTOP
# ntop --interface eth0
# /etc/init.d/ntop start
Akses NTOP Melalui Web
http://localhost:3000