vi /etc/sysconfig/network-scripts/ifcfg-eth0
将 ONBOOT="no" 改为 ONBOOT="yes"
保存后: service network restart
查看IP: ifconfig
Last modification:October 1, 2017
If you think my article is useful to you, please feel free to appreciate