tcpreplay

1. 下载tcpreplay-3.4.2.tar.gz 。  
2. 解压:tar -xzfv tcpreplay-3.4.2.tar.gz 
3. 进入解压后的文件:cd  tcpreplay-3.4.2
4. yum install -y gcc gcc-c++ 配置:./configure  (在这里遇见一个错误提示:configure: error: libpcap not found) 
5. 安装:libpcap(下载libpcap-1.1.1.tar.gz,解压)  
6. 进入libpcap-1.1.1 中,
配置:  ./configure.
(在此遇见错误提示:configure: error: Your operating system's lex is insufficient to compile   libpcap.  flex is a lex replacement 
that has many advantages, including  being able to compile libpcap.  
For more information, see   http://www.gnu.org/software/flex/flex.html .)
7、yum install -y flex
8、在libpcap-1.1.1中重新编译:make  然后make  install. 这是libpcap 安装ok。(在libpcap-1.1.1中编译:make  (这时又提示错误:make: yacc: Command not found ,这是因为没有安装: yacc)  
9. 安装yacc: yum install -y byacc
10、在libpcap-1.1.1中重新编译:make  然后make  install. 这是libpcap 安装ok。
11、重新安装tcpreplay 。
12、 配置:./configure
13、 编译:make 
14、安装:make install.
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值