Linux——CentOS7没有ifconfig命令

孤人 提交于 2019-11-29 06:24:09

前言

今天新安装的centos7,使用ifconfig命令却提示没有,直接安装也没有~

正文

直接安装直接告诉我这个包不是一个有效的

[root@kafka ~]# yum install -y ifconfig
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
No package ifconfig available.
Error: Nothing to do

正确操作

[root@kafka ~]# yum install -y net-tools.x86_64
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!