1. cd /etc/sysconfig/network-scripts/

  2. vim ifcfg-eth0

  3. 修改ONBOOT=yes

  4. service network restart