最小化安装CentOs7的没有安装ifconfig??? 一、到这个目录下查看 cd /etc/sysconfig/network-scripts/ 二、编辑 vi ifcfg-ens32 【把ONBOOT=NO 改成 YES,然后(Esc键后 :wq保存退出)。】 三、重启网络服务 service network restart 四、由于最小化安装CentOs7的没有安装ifconfig,安装网络工具: yum install net-tools