有可能是Linux刚安装时,还没配置域名服务商
1、打开 vi /etc/resolv.conf,增加 nameserver 8.8.8.8
2、重启网络: service network restart