Centos 7 Ntop 流量分析 安装

Centos 6 安装 Ntop:https://www.cnblogs.com/weijie0717/p/4886314.html

一、安装

  1、添加EPEL 仓库

    # yum install epel-release

  2、创建 Ntop 存储库

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

  3、安装软件包

    # yum update

    #  yum install ntopng ntopng-data

    # yum install redis php-pecl-redis

  4、Ntop 配置文件

    /etc/ntopng/ntopng.conf

  5、启动服务,先启动redis, 再启动 Ntop

    # systemctl start redis.service

    # systemctl enable redis.service

    # systemctl start ntopng.service

    # systemctl enable ntopng.service

  6、关闭防火前和Selinux

 

二、访问
  浏览器访问:Ntop-Ser_IP:3000  账号:admin  密码:admin

 

posted @ 2019-01-04 11:10  语~默  阅读(2953)  评论(0编辑  收藏  举报