2014年9月24日星期三

使用yum安装ntopng

1,添加源
In order to use the repository you need to create a file named /etc/yum.repos.d/ntop.repo containing
创建文件为ntop.repo,目录为/etc/yum.repos.d
# cat /etc/yum.repos.d/ntop.repo
添加以下内容:
[ntop]
name=ntop packages
baseurl=http://www.nmon.net/centos-stable/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.nmon.net/centos-stable/RPM-GPG-KEY-deri
and also install the /etc/yum.repos.d/epel.repo extra repositories
# cat /etc/yum.repos.d/epel.repo 
[epel]
name=Extra Packages for Enterprise Linux X - $basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-X&arch=$basearch
failovermethod=priority
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-X
Note: replace X with 6 (for CentOS 6) or 7 (for CentOS 7) then do:
  • yum clean all
  • yum update
  • yum install pfring n2disk nProbe ntopng ntopng-data nbox
Most software works without licenses. However some components do need a license. They include:
  • PF_RING DNA and libzero user-space libraries
  • nProbe (NetFlow/IPFIX probe)
  • n2disk (packet to disk application)
You can find more info on the ntop site, or acquire licenses on the ntop e-shop.
We remind you that all ntop products are available at no cost to universities and research.

没有评论:

发表评论