4.清除缓存,生成新的缓存。Yum clean all清除之前的缓存 Yum makecache生成新的缓存 5.通过“yum search ifconfig(查找安装包)”寻找ifconfig命令6.安装ifconfig命令 使用“yum -y install net-tools” 安装
7.完成安装
基于centos7 获得一个基于互联网的yum源,并安装ifconfig命令。
原文:https://blog.51cto.com/14218987/2356754