Centos安装PF_RING和ntopng
Centos6 安装
wget http://packages.ntop.org/centos/ntop.repo -O /etc/yum.repos.d/ntop.repo wget https://copr.fedoraproject.org/coprs/saltstack/zeromq4/repo/epel-6/saltstack-zeromq4-epel-6.repo rpm -ivh http://packages.ntop.org/rpm6/extra/hiredis-0.10.1-3.el6.x86_64.rpm http://packages.ntop.org/rpm6/extra/hiredis-devel-0.10.1-3.el6.x86_64.rpm yum install -y epel-release yum erase zeromq3 #(Do this once to make sure zeromq3 is not installed) yum clean all yum update yum install pfring n2disk nprobe ntopng ntopng-data cento
Centos7 安装
yum install -y wget epel-release wget http://packages.ntop.org/centos/ntop.repo -O /etc/yum.repos.d/ntop.repo yum erase zeromq3 #(Do this once to make sure zeromq3 is not installed) yum clean all yum update yum install pfring n2disk nprobe ntopng ntopng-data cento
git获取源码安装pf_ring
git clone https://github.com/ntop/PF_RING.git cd PF_RING/kernel make sudo insmod ./pf_ring.ko cd ../userland make modprobe pf_ring
git获取源码安装nDPI
git clone https://github.com/ntop/nDPI.git cd nDPI ./configure –with-pic make
以上内容引用自:http://packages.ntop.org/centos/
none