fastnetmon-ng/docs/INSTALL_RPM_PACKAGES.md
2016-04-09 12:10:03 -05:00

2.1 KiB

Please do not use this packages because they are outdated. Please use installer script instead

We have precompiled packages for CentOS 6, CentOS 7 and Fedora 21 (unfortunately without PF_RING support).

First of all, please install Epel repo for CentOS 6 and 7:

  • CentOS 6: rpm -ihv http://fedora-mirror01.rbc.ru/pub/epel/6/i386/epel-release-6-8.noarch.rpm
  • CentOS 7: yum install -y epel-release

Enable ntop repo (need for PF_RING kernel module and library): vim /etc/yum.repos.d/ntop.repo

Repo file (it's nightbuild version. Stable did not work correctly and haven't headers for ZC version):

[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
[ntop-noarch]
name=ntop packages
baseurl=http://www.nmon.net/centos/$releasever/noarch/
enabled=1
gpgcheck=1
gpgkey=http://www.nmon.net/centos/RPM-GPG-KEY-deri

And install pfring kernel module and libs:

yum install -y pfring

Install log4cpp from RPM on CentOS 7 (this package will be in EPEL 7 soon):

yum install -y https://github.com/FastVPSEestiOu/fastnetmon/raw/master/packages/CentOS7/log4cpp-1.1.1-1.el7.x86_64.rpm
yum install -y https://github.com/FastVPSEestiOu/fastnetmon/raw/master/packages/CentOS7/log4cpp-devel-1.1.1-1.el7.x86_64.rpm

Install FastNetMon on CentOS 6:

yum install -y https://raw.githubusercontent.com/FastVPSEestiOu/fastnetmon/master/packages/CentOS6/fastnetmon-1.1.1-1.x86_64.rpm

Install FastNetMon on CentOS 7:

yum install -y https://raw.githubusercontent.com/FastVPSEestiOu/fastnetmon/master/packages/CentOS7/fastnetmon-1.1.1-1.el7.centos.x86_64.rpm

Install FastNetMon on Fedora 21:

yum install -y https://raw.githubusercontent.com/FastVPSEestiOu/fastnetmon/master/packages/Fedora21/fastnetmon-1.1.1-1.fc21.x86_64.rpm

If you want build rpm package manually please use script build_rpm.sh. Please build on same Linux distro version as target platform for best results.