Difference between revisions of "Instalasi NTOP"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
Siapkan dependencies ..
 +
 
  # apt-get install rrdcollect rrdtool rrdtool-tcl
 
  # apt-get install rrdcollect rrdtool rrdtool-tcl
 +
 +
Install NTOP
 +
 
  # apt-get 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
Line 11: Line 18:
 
  # chown -Rf ntop.root /var/lib/ntop
 
  # chown -Rf ntop.root /var/lib/ntop
 
  # chmod -Rf 777 /var/lib/ntop/rrd (dangerous)
 
  # chmod -Rf 777 /var/lib/ntop/rrd (dangerous)
 +
 +
Set password administrator NTOP
  
 
  # ntop --set-admin-password
 
  # ntop --set-admin-password
 
     passwordadmin
 
     passwordadmin
 +
 +
Jalankan NTOP
 +
 
  # ntop --interface eth0
 
  # ntop --interface eth0
  

Revision as of 09:02, 9 May 2009

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
# chown -Rf ntop.root /var/lib/ntop
# chmod -Rf 777 /var/lib/ntop/rrd (dangerous)

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



Pranala Menarik