ntop (ntopng) 是一个网络流量分析监控系统,提供了网络流量,最大主机数据,最高流量,应用协议,以及实时流发送观察。并且提供了ntopng的web界面方便观察。
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-7.noarch.rpm
rpm -ivh epel-release-7-7.noarch.rpm
cd /etc/yum.repos.d/
wget http://packages.ntop.org/centos/ntop.repo -O ntop.repo
yum install redis hiredis
yum clean all
yum update
yum install pfring n2disk nprobe ntopng ntopng-data cento nbox
yum localinstall https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
yum clean all
yum update
yum install pfring n2disk nprobe ntopng ntopng-data cento nbox
systemctl enable redis
systemctl enable ntopng
systemctl restart redis
systemctl start ntopng
此时启动ntopng
时存在报错的,提示需要指定redis
yum install firewalld
systemctl start firewalld
systemctl enable firewalld
firewall-cmd --zone=public --add-port=3000/tcp --permanent
firewall-cmd --zone=public --add-port=6379/tcp --permanent
firewall-cmd --reload
-local-network "192.168.122.0"
-interface 0
systemctl restart redis
systemctl restart ntopng
注意:ntop没有购买企业版本则只能运行10分钟企业版功能,然后切换到社区版功能
很不幸,企业版本已经闭源,所以现在可用的ntopng
功能非常有限