Copyright © 2015 深圳市鑫惠广网络科技有限公司 粤ICP备2023111395号
ntopng是原ntop下一代版本,网络流量实时监控显示。ntopng用户可以使用一个网页浏览器浏览的NTOP(即作为一个Web服务器)流量信息和得到网络状态转储。
我采用的是git方式
一、安装支持包
yum installtcl yum installlibpcap yum installlibpcap-devel yum installsqlite yum installsqlite-devel yum installgit yum installlibtool yum installmysql-devel yum installautoconf automake autogen libpcap-devel GeoIP-devel hiredis-devel glib2-devel libxml2-devel sqlite-devel gcc-c++ libtool wget libcurl-devel pango-devel cairo-devel libpng-devel git libmaxminddb-devel libmaxminddb git clonehttps://github.com/ntop/ntopng.git ./autogen.sh #提示没有nDPI#----安装nDPI-------#git clonehttps://github.com/ntop/nDPI.git cd nDPI ./autogen.sh make #----返回主目录安装ntopng----#cd .. ./autogen.sh ./configure /usr/bin/gmake geoip #下载ip地域对应数据make make install
二、配置文件
/etc/ntopng/ntopng.conf -G=/var/tmp/ntopng.gid--local-networks=10.7.0.34--interface=eth0--http-port=3000
三、启动命令
ntopng/etc/ntopng/ntopng.conf-rip:port:passwordntopng/etc/ntopng/ntopng.conf-r127.0.0.1:6379:123456#需要连接redis
四、默认用户名与密码,第一次登录进系统后需要改密码
用户名:admin 密码:admin
五、ntopng命令参数
ntopng [−i <interface|pcap>] [−d <data_directory>] [−t <install_directory>] [−n <mode>] [−e] [−1 <path>] [−2 <path>] [−3 <path>] [−w <[:]http_port>] [−W <[:]https_port>] [−m <local_subnets>] [−u|−−no−promisc] [−p <protocols>] [−P] [−q] [−r <redis_host[:port][@db-id]>] [−g <cpu_core_ids>] [−s] [−U <sys_user>] [−l<mode>] [−X <maxnumflows>] [−B <filter>] [−k <key>] [−A <mode>] [−x <max_num_hosts>] [−F <mode><dump−flows>] [−D <dump−hosts>] [−I <export−flows>] [−O <communities−list>] [−E <sticky−hosts>] [−t <dir>] [−T <enable-taps>] [−H] [−−hw−timestamp−mode <mode>] [−N <name>] [−Z <prefix>] [−−shutdown−when−done] [−−zmq−encrypt−pwd <apssword>] [−−capture−direction] [−−online−license−check] [−−print−ndpi−protocols] [−v <level>] [−V] [−h]
Copyright © 2015 深圳市鑫惠广网络科技有限公司 粤ICP备2023111395号