ntopng-1.2.1的安装
1.安装redis-server
yum -y install tcl tcl-devel tar zxvf redis-2.8.19.tar.gz cd redis-2.8.19 make cd src make all make install
2.运行redis-server
./ redis-server &
3.安装支持包
yum -y install libpcap libpcap-devel yum -y install sqlite-devel yum -y install rrdtool
4.安装ntopng
tar zxvf ntopng-1.2.1.tgz cd ntopng-1.2.1 ./autogen.sh ./configure make make install
5.启动ntopng
ntopng -i eth0 &
6.故障:redis-server没有安装或者没有启动,安装并启动redis-server
09/Jan/2015 11:14:09 [Redis.cpp:67] ERROR: ntopng requires redis server to be up and running 09/Jan/2015 11:14:09 [Redis.cpp:68] ERROR: Please start it and try again or use -r 09/Jan/2015 11:14:09 [Redis.cpp:69] ERROR: to specify a redis server other than the default
7.故障:sqlite-devel没有安装 yum -y install sqlite-devel
SQLite 3.x missing (libsqlite3-dev): please install it and try again
8.访问:
http://ip:3000,默认用户名和密码都为admin。
转载于:https://blog.51cto.com/1163109/1601014