Difference between revisions of "Instalasi NTOP"

From OnnoWiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Siapkan dependencies ..
 
Siapkan dependencies ..
  
  # apt-get install rrdcollect rrdtool rrdtool-tcl
+
  sudo apt-get install rrdcollect rrdtool rrdtool-tcl
  
 
Install NTOP
 
Install NTOP
  
  # apt-get install ntop
+
  sudo apt-get install ntop
  
 
Ini agak aneh, ternyata NTOP tidak menyediakan folder yang dibutuhkannya. Jadi kita harus menyediakan secara manual ..
 
Ini agak aneh, ternyata NTOP tidak menyediakan folder yang dibutuhkannya. Jadi kita harus menyediakan secara manual ..
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
  chmod -Rf 777 /var/lib/ntop/rrd (dangerous)
+
# 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
Line 31: 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
Line 46: Line 57:
  
 
* [[Linux Howto]]
 
* [[Linux Howto]]
 +
* [[Keamanan Jaringan]]
  
 
[[Category: Linux]]
 
[[Category: Linux]]
 
[[Category: Network Management]]
 
[[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