redhat7解决ifconfig时ens33没有ip地址 使用·root权限ONBOOT=no改为yes退出重启网卡 使用·root权限 su root ONBOOT=no改为yes 1 cd /etc/sysconfig/network-scripts/ 2 vi ifcfg-ens33 退出重启网卡 service network restart 搞定