Difference between revisions of "Instalasi NTOP"

From OnnoWiki
Jump to navigation Jump to search
(New page: # apt-get install rrdcollect rrdtool rrdtool-tcl # apt-get install ntop # mkdir /var/lib/ntop/rrd # mkdir /var/lib/ntop/rrd/graphics # mkdir /var/lib/ntop/rrd/flows # mkdir /var/li...)
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Siapkan dependencies ..
  
  # apt-get install rrdcollect rrdtool rrdtool-tcl
+
  sudo apt-get install rrdcollect rrdtool rrdtool-tcl
# apt-get install ntop
 
  
  # mkdir /var/lib/ntop/rrd
+
Install NTOP
  # mkdir /var/lib/ntop/rrd/graphics
+
 
  # mkdir /var/lib/ntop/rrd/flows
+
sudo apt-get install ntop
  # mkdir /var/lib/ntop/rrd/interfaces
+
 
  # mkdir /var/lib/ntop/rrd/interfaces/eth0
+
Ini agak aneh, ternyata NTOP tidak menyediakan folder yang dibutuhkannya. Jadi kita harus menyediakan secara manual ..
  # mkdir /var/lib/ntop/rrd/interfaces/eth1
+
 
  # mkdir /var/lib/ntop/rrd/interfaces/eth2
+
  mkdir /var/lib/ntop/rrd
  # chown -Rf ntop.root /var/lib/ntop
+
  mkdir /var/lib/ntop/rrd/graphics
  # chmod -Rf 777 /var/lib/ntop/rrd (dangerous)
+
  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
 
  # ntop --set-admin-password
 
     passwordadmin
 
     passwordadmin
 +
 +
Jalankan NTOP
 +
 
  # 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]]
 +
 +
http://localhost:3000
 +
 +
 +
 +
 +
 +
==Pranala Menarik==
 +
 +
* [[Linux Howto]]
 +
* [[Keamanan Jaringan]]
 +
 +
[[Category: Linux]]
 +
[[Category: Network Management]]

Latest revision as of 11:33, 12 April 2011

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