Chinaunix首页 | 论坛 | 博客
  • 博客访问: 446273
  • 博文数量: 21
  • 博客积分: 6636
  • 博客等级: 准将
  • 技术积分: 1006
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-08 11:10
文章分类
文章存档

2011年(11)

2010年(4)

2009年(4)

2008年(2)

分类:

2011-04-26 17:16:10

It is a bit difficult than linux OS.

edit your root login profile
# vi /root/.profile
PATH=/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/ccs/bin:/usr/ucb/bin:/usr/sfw/bin

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/sfw/lib
export PATH LD_LIBRARY_PATH
PS1="\u@\H# "

change root user shell to /usr/bin/bash
# passwd -s /usr/bin/bash root

download libpcap & tcpdump

configure and make libpcap;
./configure && gmake && gmake install
then tcpdump
./configure && gmake && gmake install

don't suggest you to run downloaded binary code directly.

阅读(2447) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~