Instalasi NTOP

From OnnoWiki
Jump to navigation Jump to search

Siapkan dependencies ..

sudo apt-get install rrdcollect rrdtool rrdtool-tcl

Install NTOP

sudo 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
mkdir /var/lib/ntop/graphics
mkdir /var/lib/ntop/flows
mkdir /var/lib/ntop/interfaces
mkdir /var/lib/ntop/interfaces/eth0
mkdir /var/lib/ntop/interfaces/eth1
mkdir /var/lib/ntop/interfaces/eth2
mkdir /var/lib/ntop/interfaces/wlan0
mkdir /var/lib/ntop/interfaces/wlan1
mkdir /var/lib/ntop/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

Lebih baik kalau bisa menjalankan

# /etc/init.d/ntop start

Akses NTOP Melalui Web

http://localhost:3000



Pranala Menarik