
Install NTOP NG CentOS 6.5
Merhabalar size bu defa ntopng CentOS 6.5 kurulumu anlatıcam.
ntopng
Ntopng, orijinal ntop, popüler Unix komutuna benzer ağ kullanımını gösteren bir ağ trafiği yeni nesil versiyonudur. ntopng libpcap dayanan ve hemen hemen aynı zamanda, geliştirilmiştir. Unix platformu, MacOSX ve Win32 üzerinde çalıştırmak için geliştirilmiştir.
ntopng kullanıcıları (bir web sunucusu gibi davranan) ntop gezinmek trafik bilgisi ve ağ durumunun bir dökümü almak için web tarayıcısını kullanabilirsiniz. ikinci durumda, ntop Gömülü bir web arayüzüdür.
Kurulum
Önce ntop indire bilmemiz için repository ayarlayalım.
Add ntop repository
Komut
[root@sokak ~]# vim /etc/yum.repos.d/ntop.repo
Çıktı [ntop] name=ntop packages baseurl=http://www.nmon.net/centos/$releasever/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://www.nmon.net/centos/RPM-GPG-KEY-deri |
Add epel repository
[root@sokak ~]# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Retrieving http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm warning: /var/tmp/rpm-tmp.9Iqt22: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY Preparing… ########################################### [100%] 1:epel-release ########################################### [100%] |
Paketleri kuralım
[root@sokak ~]# yum clean all
[root@sokak ~]# yum update [root@sokak ~]# yum install pfring n2disk nProbe ntopng ntopng-data nbox |
Servisleri start’a ekleyelim
[root@sokak ~]# chkconfig ntopng on
[root@sokak ~]# chkconfig redis on |
Download GeoLite databases GeoIP indirme yolu.
[root@sokak ~]# cd /usr/local/share/ntopng/httpdocs/geoip |
[root@sokak geoip]# wget http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
[root@sokak geoip]# gunzip GeoIPASNum.dat.gz |
[root@sokak geoip]# wget http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNumv6.dat.gz
[root@sokak geoip]# gunzip GeoIPASNumv6.dat.gz |
[root@sokak geoip]# wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz
[root@sokak geoip]# gunzip GeoLiteCityv6.dat.gz |
[root@sokak geoip]# wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCityv6-beta/GeoLiteCityv6.dat.gz
[root@sokak geoip]# gunzip GeoLiteCityv6.dat.gz |
Ntop configure yolunu oluşturuyoruz.
[root@sokak ~]# mkdir /etc/ntopng
[root@sokak ~]# touch /etc/ntopng/ntopng.start [root@sokak ~]# touch /etc/ntopng/ntopng.conf |
[root@sokak ~]# vim /etc/ntopng/ntopng.start
–local-networks “192.168.1.0” –interface 0 |
[root@sokak ~]# vim /etc/ntopng/ntopng.conf
-G=/var/run/ntopng.pid |
Servisleri start edelim
[root@sokak ~]# service redis start
Starting redis-server: [ OK ] [root@sokak ~]# service ntopng start Starting ntopng |
İstediğiniz Tarayıcıdan açabilirsiniz.
admin
admin