侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

CentOS6.5安装ntopng

2023-12-19 星期二 / 0 评论 / 0 点赞 / 129 阅读 / 1583 字

准备环境CentOS6.4 和ntopng-1.2.1.tgz下载 提取码:2142首先换为国内的源wget -O /etc/yum.repos.d/CentOS-Base.repo http://

准备环境

CentOS6.4 和ntopng-1.2.1.tgz下载 提取码:2142首先换为国内的源

wget -O /etc/yum.repos.d/CentOS-Base.repo  http://mirrors.aliyun.com/repo/Centos-6.repoyum updateyum install gcc gcc-c++ -y #配置gcc环境#下载安装 EPEL 安装源wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm rpm -ivh epel-release-5-4.noarch.rpmyum groupinstall "Development Tools"#这里存在报错 Error: Package: perl-Git-1.8.2.3-1.el5.x86_64 (epel)通过下面的命令解决wget http://mirror.umd.edu/fedora/epel/6/i386/epel-release-6-8.noarch.rpmyum remove epel-releaserpm -ivh epel-release-6-8.noarch.rpm --testrpm -ivh epel-release-6-8.noarch.rpmyum updateyum install libpcap-devel glib2-devel GeoIP-devel libxml2-devel redis autoconf automake sqlite-devel 安装必要的包rz #上传我们开始下载的ntopng-1.2.1.tgz包解压 cd ntopng-1.2.1./autogen.shmake&make install编写配置文件[root@host-10-0-10-16 ntopng-1.2.1]# mkdir /etc/ntopng [root@host-10-0-10-16 ntopng-1.2.1]# vim  /etc/ntopng/ntopng.conf-G=/var/tmp/ntopng.pid--local-networks=10.0.10.0/24--interface=eth0--http-port=3000[root@host-10-0-10-16 ntopng-1.2.1]# /etc/init.d/redis start #先启动redisStarting redis-server:                                     [  OK  ][root@host-10-0-10-16 ntopng-1.2.1]# /usr/local/bin/ntopng /etc/ntopng/ntopng.conf & #在启动ntopng lsof -i :3000 #检查服务登陆http://192.168.1.208:3000Username: adminPassword : admin 

广告 广告

评论区