|
发表于 2025-6-18 17:15:14
|
显示全部楼层
本帖最后由 Waylon 于 2025-6-18 18:20 编辑
你得会换repo
现在一般镜像站都需要将 baseurl 中的 centos 替换成 centos-vault 目录
iftop其实不在CentOS官方库,而是在这个库:
yum install epel-release
还有,要学会找 rpm ,没必要上来就编译
https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/i/
https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/i/iftop-1.0-0.21.pre4.el7.x86_64.rpm
https://rpmfind.net/linux/rpm2html/search.php?query=iftop&submit=Search+...&system=&arch=
https://rpmfind.net/linux/dag/redhat/el7/en/x86_64/dag/RPMS/iftop-1.0-0.pre3.el7.rf.x86_64.rpm
|
|