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號