1、systemctl enalble NetworkManager-wait-online.service 由於這個服務沒有開啟導致下面錯誤
network[798]: Bringing up loopback interface: Could not load file '/etc/sysconfig/network- scripts/ifcfg-lo'
network[798]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
network[798]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
network[798]: Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo'
2、當在vmware中無法訪問外網時,由於沒有關閉系統防火牆的原因:chkconfig iptables off