作者:mobiledu2502931473 | 来源:互联网 | 2017-06-23 13:08
vim/etc/sysconfig/network-scripts/ifcfg-eth0将ONBOOT="no"改为ONBOOT="yes"保存后:servicenetworkrestart查看IP:ifconfig
vim /etc/sysconfig/network-scripts/ifcfg-eth0
将 OnBOOT="no" 改为 OnBOOT="yes"
保存后: service network restart
查看IP: ifconfig