您当前的位置: 首页 > 

sudo: unable to resolve host ****

发布时间:2013-04-09 12:20:00 ,浏览量:0

sudo: unable to resolve host  ****

解决:

修改了/etc/hostname之后,还要修改/etc/hosts

参考  http://ubuntuforums.org/showthread.php?t=799896

Yup. If you change the hostname in /etc/hostname, you must also fix up /etc/hosts so the new name resolves to 127.0.0.1. The safest way is to edit hosts and add the new name, then edit hostname, then go back to hosts to remove the old hstname.

关注
打赏
1688896170
查看更多评论

暂无认证

  • 0浏览

    0关注

    114579博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0823s