iftop을 어떻게 설치하나요?

iftop을 어떻게 설치하나요?

나는 시도했다:

root@host [/home]# yum install iftop
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.tds.net
 * extras: yum.singlehop.com
 * updates: mirror.wiredtree.com
Setting up Install Process
No package iftop available.
Error: Nothing to do

그래서 뭐 할까?

이것을 달성하려면 어떻게 해야 합니까?

답변1

iftop다음과 같이 사용할 수 있습니다.에펠저장소:

# rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

답변2

소스 코드를 다운로드하고 패키지를 직접 컴파일하거나 배포용 바이너리 패키지를 다운로드할 수 있습니다.

구경하다http://pkgs.repoforge.org/iftop/RHEL/CentOS용 바이너리 패키지와 소스 코드를 제공하기 때문입니다.

CentOS-6 64비트에 바이너리 패키지를 설치하려면 다음을 수행하세요.

wget http://pkgs.repoforge.org/iftop/iftop-0.17-1.el6.rf.x86_64.rpm
rpm -ivh iftop-0.17-1.el6.rf.x86_64.rpm

답변3

CentOS 7(오늘 완전히 업데이트됨)의 경우 EPEL 저장소에서 설치하세요.

yum install epel-release -y
yum install iftop -y

100% 확실하지는 않지만 이전 버전에서는 EPEL 저장소를 다운로드하고 rpm을 사용하여 수동으로 설치해야 한다고 생각합니다. 그런 다음 "yum install iftop"을 사용할 수 있습니다(다른 답변에 따라).

답변4

Centos 7의 경우 다음을 수행할 수 있습니다.

rpm -i http://mirror.pnl.gov/epel/7/x86_64/i/iftop-1.0-0.7.pre4.el7.x86_64.rpm

관련 정보