ubuntu 系统出现unable to resolve hostXXX问题的解决办法
来源:互联网 发布:p6软件 编辑:程序博客网 时间:2024/05/16 16:20
问题发生的原因:
因为主机名太长,看着不爽,于是小的就参照网上说的方法将 /etc/hostname 文件中的主机名进行了修改,结果就出现了这个问题,在调用sudo时出现“unable to resolve host XXX”问题。
解决办法:
再次参照网上说的,打开了 /etc/hosts 文件,将其中 127.0.1.1 后面对应的名字改成和 /etc/hostname 中的名字一致
0 0
- ubuntu 系统出现unable to resolve hostXXX问题的解决办法
- [android] 出现 Unable to resolve target 'android-7'的解决办法
- 关于Eclipse出现unable to resolve superclass错误的问题
- ubuntu中unable to resolve host xxx问题的解决方法
- ubuntu 解决unable to resolve host的问题
- ubuntu系统中sudo时出现unable to resolve host (主机名)解决方法
- Ubuntu sudo 出现unable to resolve host 解决方法
- Ubuntu环境下sudo出现unable to resolve host 解决方法
- Linux系统wget unable to resolve host address解决办法
- Responses to "error: unable to resolve ' ' for transcoding的解决办法
- Ubuntu-unable to resolve host
- 导入android项目出现:出现Unable to resolve target 'android-8'错误及其他的一些解决办法
- Android SDK 升级到ADT 17 以上版本出现dalvikvm: Unable to resolve superclass的问题
- sudo遇到问题unable to resolve host ubuntu
- Unable to resolve target 'android-x'的解决办法
- Unable to resolve target 'android-14' 的解决办法
- sudo出现 unable to resolve host xxxx的解决方法
- 关于搭载新版本SDK后,导入以前的工程出现Unable to resolve target 'android-6'的解决办法
- 关于"failed to report status for 600 seconds. killing"的错误
- dedecms 按照ID升序 降序排列方法
- jQuery Autocomplete 使用详细说明(二)
- ARC forbids Objective-C objects in structs or unions
- 排序并过滤掉相同的值 一种算法 和 其优化算法(使用it.unimi.dsi.fastutil.longs.LongOpenHashSet)
- ubuntu 系统出现unable to resolve hostXXX问题的解决办法
- Oracle协议适配器错误解决办法
- android中的数据库操作
- 谈谈ANDROID反编译和防止反编译的方法(转)
- DAL(5)
- 解决VS2008 没法解析的外部符号 "int _cdecl _AfxInitManaged(void)“,以及无法打开预编译头Debug\XXX.pch
- LCD背光 A极 K极
- 驾驭工作的两大“法宝”:时间管理和好心态
- VC++简单实现鼠标点击穿透窗口