Difference between revisions of "Instalasi NTOP"

From OnnoWiki
Jump to navigation Jump to search
Line 19: Line 19:
 
  mkdir /var/lib/ntop/rrd/interfaces/wlan1
 
  mkdir /var/lib/ntop/rrd/interfaces/wlan1
 
  mkdir /var/lib/ntop/rrd/interfaces/wlan2
 
  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
 
  chown -Rf ntop.root /var/lib/ntop
 
  # ini cukup berbahaya, tapi memudahkan ntop :)
 
  # ini cukup berbahaya, tapi memudahkan ntop :)
Line 33: Line 42:
 
  # ntop --interface eth0
 
  # ntop --interface eth0
  
 +
Lebih baik kalau bisa menjalankan
  
 
  # /etc/init.d/ntop start
 
  # /etc/init.d/ntop start
  
 
+
Akses NTOP Melalui [[Web]]
Akses NTOP Melalui Web
 
  
 
  http://localhost:3000
 
  http://localhost:3000

Revision as of 11:36, 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
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