sudo unable to resolve host错误
错误 to unable Host sudo resolve
2023-09-27 14:19:48 时间
从/etc/hosts 设定, 让dev(hostname) 可以解回127.0.0.1 的IP 即可.
/etc/hosts 原始内容
127.0.0.1 localhost
于127.0.0.1 localhost 后面加上主机名称(hostname) 即可, /etc/hosts 内容修改成如下:
127.0.0.1 localhost 本机名
相关文章
- Rust: toml::to_string()函数错误——ValueAfterTable(Value After Table)
- Spring 项目启动测试的时候错误:Unable to acquire JDBC Connection
- Spring 测试运行的时候提示 Unable to find a @SpringBootConfiguration 错误
- redis批量删除报错误CROSSSLOT Keys in request don’t hash to the same slot
- eclipse下启动tomcat出现Setting property 'source' to 'org.eclipse.jst.jee.server: '错误的解决办法
- JAVA错误:Cannot refer to a non-final variable * inside an inner class defined in a different method
- oracle10g连接自动断开,报ORA-03135错误
- eclipse 提示错误**cannot be resolved to a type
- JMS之——ActiveMQ时抛出的错误Could not connect to broker URL-使用线程池解决高并发连接
- find_if 仿函数错误:cannot convert 'this' pointer from 'const CActTaskData' to 'CActTaskData &'
- mysql主从复制错误:A slave with the same server_uuid/server_id as this slave has connected to the master;
- php curl 错误 cURL error 60 unable to get local issuer certificate【转】
- Spring Boot配置错误:Failed to determine a suitable driver class
- git pull 解决 refusing to merge unrelated histories 错误
- undefined reference to `std::cout'等错误
- Vs打包工程 错误: Unable to update the dependencies of the project (转)
- Elasticsearch排序出现No mapping found for [limit_time] in order to sort on错误
- 错误记录——fail: Microsoft.AspNetCore.Server.Kestrel[13]
- 错误:undefined reference to `__gxx_personality_v0'
- 【错误记录】git clone 报错 ( fatal: unable to access ‘https...‘:gnutls_handshake() failed: Error in the pu )
- 【错误记录】Git 使用报错 ( no changes added to commit (use “git add“ and/or “git commit -a“) )
- python easy_install 发生Unable to find vcvarsall.bat错误的处理方法
- Exception: The transaction log for database is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc.错误解决
- 我的Android进阶之旅------>Android开发错误汇总