我试过:
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那怎么做呢?
我应该怎么做才能做到这一点?
发布于 2013-01-10 20:17:37
您可以下载源代码并自己编译包,也可以下载发行版的二进制包。
看看http://pkgs.repoforge.org/iftop/,因为它为RHEL/CentOS和源代码提供了二进制包。
要在CentOS664位上安装二进制包,只需执行以下操作:
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发布于 2013-01-10 20:17:46
iftop可在埃佩尔存储库中获得:
# rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm发布于 2017-08-10 14:40:31
对于CentOS 7(今天完全更新),从EPEL存储库安装
yum install epel-release -y
yum install iftop -y不是100%确定,但我认为早期版本需要下载EPEL存储库并使用rpm手动安装,然后您就可以“installing iftop”(与其他答案一样)。
https://unix.stackexchange.com/questions/60924
复制相似问题