一、因为安装时使用的是最小化安装CentOS 7,安装完成后没有发现ifconfig命令yum
检查/sbin下也没有这个命令。使用的是root身份。tools
#yum install -y net-tools\*co
能够成功安装ifconfigconfig