Wireshark 설치 (CentOS 5.5 기준)
(발췌: http://azisfatoni.com/install-wireshark-linux-in-centos-5-5/)
1. Binary packages
(1) 사전에 설치해야하는 필수 패키지
- Libcap(libcap-1.10-26.i386.rpm) : Library for getting and setting POSIX.1e capabilities
- Libsmi (libsmi-0.4.5-2.el5.i386.rpm) : A library to access SMI MIB information
- Wget (wget-1.11.4-2.el5_4.1.i386.rpm) : A utility for retrieving files using the HTTP or FTP protocols.
(2) Wireshark 패키지
- Network traffic analyzer
- Gnome desktop integration for wireshark and wireshark-usermode
(http://rpm.pbone.net/index.php3/stat/4/idpl/15665587/dir/centos_4/com/wireshark-gnome-1.0.15-2.el4.i386.rpm.html)
(3) Install the packages use rpm –ivh packages-name.rpm
#rpm –ivh libcap-1.10-26.i386.rpm libsmi-0.4.5-2.el5.i386.rpm wget-1.11.4-2.el5_4.1.i386.rpm wireshark-1.0.8-1.el5_3.1.i386.rpm
2. Repository Server
It’s easier to install Wireshark with Repository Server. We dosn’t need depencies first, because it’s installed automatically. Just one line command.
#yum install wireshark
All the packages will be installed.
3. The Wireshark is ready to use. And the command is tshark not Wireshark . For example, we want to capture the data packages that running away in our ethernet. We can usai i parameter to do it. For example :
#tshark –i eth0