异常描述:Name or service not known 解决方式 [root@Hades_kk bin]# vim /etc/hosts 在127.0.0.1 最后加上服务器hostname 即可。 注意空格。