CentOS 7.2最小化安装没有ifconfig命令,使用yum provides ifconfig找不到相关的包

CentOS 7.2最小化安装没有ifconfig命令,使用yum provides ifconfig找不到相关的包

[root@sishen yum.repos.d]# yum provides ifconfig
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No matches found
[root@sishen yum.repos.d]# yum whatprovides '*/ifconfig/'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
No matches found

系统版本:

[root@sishen yum.repos.d]# cat /proc/version
Linux version 3.10.0-327.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC 2015

使用的是本地YUM源

[root@sishen yum.repos.d]# yum repolist all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
repo id                      repo name                            status
c7-media                     CentOS-7 - Media                     enabled: 3,723
repolist: 3,723

知道是net-tools这个包没装,但是不知道为什么yum找不到?

[root@sishen yum.repos.d]# yum list 'net-tools'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Available Packages
net-tools.x86_64                2.0-0.17.20131004git.el7                c7-media

待解决?希望各路大侠指点迷津~

posted on 2017-12-02 22:59 Lucky_7 阅读(...) 评论(...) 编辑 收藏

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值