Centos7安装ntopng
基础环境配置参照centos7模板机搭建
1. 安装依赖项
cat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo
[influxdb]
name = InfluxDB Repository - RHEL \$releasever
baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable
enabled = 1
gpgcheck = 1
gpgkey = https://repos.influxdata.com/influxdb.key
EOF
cd /etc/yum.repos.d/
wget http://packages.ntop.org/centos-stable/ntop.repo -O ntop.repo
2. 安装软件
yum clean all
yum update
rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install erase zeromq3 influxdb pfring-dkms n2disk nprobe ntopng cento pfring-drivers-zc-dkms
#启动软件
systemctl start ntopng
3. 修改配置文件
vi /etc/influxdb/influxdb.conf
systemctl restart influxdb
#influxdb此为非必须,用于存储数据。
#查看软件是否正常运行