股票

tcpdump的安装配置

记得先安装libpcap,不然会有报错。

wget http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz

wget http://www.tcpdump.org/release/tcpdump-4.9.0.tar.gz

tar -zxvf libpcap-1.8.1.tar.gz

cd libpcap-1.8.1

./configure

make

make install

其中 make install的时候注意切换管理员权限。

然后安装 tcpdump

cd ..

tar -zxvf tcpdump-4.9.0.tar.gz

cd tcpdump-4.9.0

./configure

make

make install

在安装libpcap的时候又可能会出现错误

error: Neither flex nor lex was found.

打赏
原文链接:,转发请注明来源!

发表评论