执行sudo命令时候,总是提示sudo: unable to resolve host xxx
解决方法:
法1. 在/etc/hosts/添加hosts映射, 如127.0.0.1 xxx
法2. 修改/etc/hostname 为有效host
相关文章
- 修改ubuntu DNS的步骤/wget url报错: unable to resolve host address的解决方法
- Android开发中的Unable to resolve superclass of L错误解决方法
- centos下wget时提示unable to resolve host address ...
- unable to resolve superclass of 的奇怪问题和一种解决方法!
- java.net.UnknownHostException: Unable to resolve host "images.liqucn.com": No address associated wit
- Unable to resolve host "stats.umsns.com": No address associated with hostname: [Caught Exception in
- Unable to resolve superclass of L报错的解决方法
- Host 'XXX' is not allowed to connect to this MySQL server 解决方法/开启MySQL远程账号
- ubuntu中unable to resolve host xxx问题的解决方法
- 阿里云服务器,Ubuntu 报错 sudo: unable to resolve host