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