自己安小结,有需要可以联系我。写得不是很详细
安装netsniff
需要2个文件:GeoIp
include.zip
include 文件解压后复制到/usr/include/Linux
netsniff 需要的库文件
yum install -y zlib
yum install -y libnl3-devel
yum install -y libxml2-devel
yum install -y libxml2
yum install -y zlib-devel
yum install -y libnl3
rm -f /etc/netsniff-ng/capConfig.xml
cat /proc/meminfo
chmod +x configure
然后安装
./configure(GeoIp)
make
make install
要安装 labnet库
./configure
make
make install
更改库文件路径:
在 /etc/ld.so.conf
中添加/usr/local/lib
/