Could not resolve hostname 。。。。。。: Name or service not known 究其原因就是域名找不到对应的映射IP 所以直接 sudo vi /etc/hosts 然后把ip 域名映射加进去 域名ip可以在服务器用ifconfig查询