Chinaunix首页 | 论坛 | 博客
  • 博客访问: 393502
  • 博文数量: 102
  • 博客积分: 1395
  • 博客等级: 中尉
  • 技术积分: 1050
  • 用 户 组: 普通用户
  • 注册时间: 2012-11-05 18:09
文章分类

全部博文(102)

文章存档

2013年(25)

2012年(77)

分类: LINUX

2012-11-20 18:46:52

    Wireshark(2006年夏天之前叫做Ethereal)是一款非常优秀的,可在Linux和Windows上使用的开源网络协议分析器。它可以实时检测网络通讯数据,也可以抓取网络通讯数据。可以通过图形界面浏览这些数据,可以查看网络通讯数据包中每一层的详细内容。

对于RedHat 5.0企业版的Wireshark安装

    Rpm –ivh lm_sensors-2.10.0-3.1.i386.rpm 
    Rpm –ivh net-snmp-5.3.1-9.el5.i386.rpm 
    Rpm –ivh wireshark-0.99.6-1.el5.i386.rpm 
    Rpm –ivh wireshark-gnome-0.99.6-1.el5.i386.rpm
    (以上4个RPM包都在RHEL5安装盘的servers目录下)安装 Rpm –ivh wireshark-0.99.6-1.el5.i386.rpm 
时会提示没有libsmi这个库, 这是只需在servers目录下找到这个libsmi**.rpm文件安装即可。
具体如下:

[root@localhost wireshark]# rpm -ivh wireshark-1.0.3-4.el5_2.i386.rpm

warning: wireshark-1.0.3-4.el5_2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

error: Failed dependencies:

        libsmi.so.2 is needed by wireshark-1.0.3-4.el5_2.i386

[root@localhost wireshark]# rpm -ivh wireshark-gnome-1.0.3-4.el5_2.i386.rpm

warning: wireshark-gnome-1.0.3-4.el5_2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

error: Failed dependencies:

        libsmi is needed by wireshark-gnome-1.0.3-4.el5_2.i386

        libsmi.so.2 is needed by wireshark-gnome-1.0.3-4.el5_2.i386

        libwireshark.so.0 is needed by wireshark-gnome-1.0.3-4.el5_2.i386

        libwiretap.so.0 is needed by wireshark-gnome-1.0.3-4.el5_2.i386

        wireshark = 1.0.3-4.el5_2 is needed by wireshark-gnome-1.0.3-4.el5_2.i386

 

仔细看后,发现没有安装libsmi包,于是在RHEL5.3镜像光盘找到libsmi包安装:

[root@localhost wireshark]# rpm -ivh libsmi-0.4.5-2.el5.i386.rpm

warning: libsmi-0.4.5-2.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:libsmi                 ########################################### [100%]

 

然后再重新安装那四个安装包,成功!

 [root@localhost wireshark]# rpm -ivh lm_sensors-2.10.7-4.el5.i386.rpm

warning: lm_sensors-2.10.7-4.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

        package lm_sensors-2.10.7-4.el5.i386 is already installed

[root@localhost wireshark]# rpm -ivh net-snmp-5.3.2.2-5.el5.i386.rpm

warning: net-snmp-5.3.2.2-5.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

        package net-snmp-5.3.2.2-5.el5.i386 is already installed

[root@localhost wireshark]# rpm -ivh wireshark-1.0.3-4.el5_2.i386.rpm

warning: wireshark-1.0.3-4.el5_2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:wireshark              ########################################### [100%]

[root@localhost wireshark]# rpm -ivh wireshark-gnome-1.0.3-4.el5_2.i386.rpm

warning: wireshark-gnome-1.0.3-4.el5_2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:wireshark-gnome        ########################################### [100%]

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