NTOP网络流量开源监控软件
环境:RedHat-server-5.5
1.安装ntop所需要的组件:
#yum -y install gd gcc gdbm gdbm-devel libpcap libpcap-devel rrdtool rrdtool-devel zlib zlib-devel cgilib libtool
2.解压并安装下载好的软件 libpcap-0.8.3.tar
tar zvxf libpcap-0.8.3.tar
cd libpcap-0.8.3.tar
./configure
make
报错: make: *** [grammar.c] 错误127时,
运行yum install bison
yum install byacc*
再次运行,错误不再提示
3.解压并安装下载好的软件rrdtool-1.2.13.tar
tar zvxf rrdtool-1.2.13.tar
./configure
make
4解压并安装下载好的软件 ntop-3.3.tar
tar zvxf ntop-3.3.tar
./autogen.sh
提示错误:configure: error: Unable to find RRD at /usr/local/rrdtool: please use –with-rrd-home=DIR
下载高版本Rrdtools并重新安装指定目录
tar -zxvf rrdtool-1.2.27.tar.gz
# cd rrdtool-1.2.27
#./configure –prefix=/usr/local/rrdtool2
# Make&&make install
并安装freetype