sudo不起作用,出现unable to resolve host错误的解决办法
2011-05-03 09:18
627 查看
过程:
gedit /etc/hosts
将hosts中的127.0.1.1 后面的名字改成自己想要的主机名,我的是hadoop。
同时要保证/etc/hostname中的主机名与刚才修改的一致,不一致的话一定要改过来。
这样应该就好用了,再不行的话就重启电脑吧。
gedit /etc/hosts
将hosts中的127.0.1.1 后面的名字改成自己想要的主机名,我的是hadoop。
同时要保证/etc/hostname中的主机名与刚才修改的一致,不一致的话一定要改过来。
这样应该就好用了,再不行的话就重启电脑吧。
相关文章推荐
- Ubuntu / Debian: sudo 出现 unable to resolve host 错误解决办法
- sudo 出现unable to resolve host 解决方法
- sudo 出现unable to resolve host 解决方法
- sudo 出现unable to resolve host 解决方法
- sudo 出现unable to resolve host 解决方法
- ubuntu系统中sudo时出现unable to resolve host (主机名)解决方法
- Ubuntu环境下sudo出现unable to resolve host 解决方法
- ubuntu16.04 sudo 出现unable to resolve host 解决方法
- sudo 出现unable to resolve host 解决方法
- sudo 出现unable to resolve host 解决方法
- 导入android项目出现:出现Unable to resolve target 'android-8'错误及其他的一些解决办法
- sudo 出现 unable to resolve host 解决方法
- sudo不起作用,unable to resolve host 已解决
- sudo 出现unable to resolve host 解决方法
- sudo 出现unable to resolve host 解决方法
- sudo 出现unable to resolve host 解决方法
- sudo 出现unable to resolve host 解决方法
- sudo 出现unable to resolve host 解决方法
- sudo 出现 unable to resolve host 解决方法
- sudo: unable to resolve host xxx解决办法