歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> CentOS 下iftop 的安裝

CentOS 下iftop 的安裝

日期:2017/2/28 14:34:35   编辑:Linux教程

CentOS 下iftop 的安裝

安裝方法一:編譯安裝(安裝成功)

wget http://ex-parrot.com/~pdw/iftop/download/iftop- 0.17pre3.tar.gz

yum -y install gcc libpcap-devel* ncurses-devel (可能要裝tcpdump)

tar -zxf iftop-0.17pre3.tar.gz

cd iftop-0.17pre3

./configure

make&&make install

安裝方法2:(懶人辦法,最簡單 沒測試過)

直接省略上面的步驟

CentOS系統:

yum install flex byacc libpcap ncurses ncurses-devel

wget ftp://fr2.rpmfind.net/linux/dag/RedHat/el5/en/i386/dag/RPMS/iftop-0.17-1.el5.rf.i386.rpm

rpm -ivh iftop-0.17-1.el5.rf.i386.rpm

更多CentOS相關信息見CentOS 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=14

Copyright © Linux教程網 All Rights Reserved