4
ubuntu突然出现打开系统设置慢 sudo时出现无法解析主机的解决办法
source link: https://blog.chih.me/ubuntutu-ran-chu-xian-da-kai-xi-tong-she-zhi-man-sudoshi-chu-xian-wu-fa-jie-xi-zhu-ji-de-jie-jue-ban-fa.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
ubuntu突然出现打开系统设置慢 sudo时出现无法解析主机的解决办法
0 Comments突然间发现我的ubuntu12.04
打开系统设置变得非常慢,正不知如何解决的时候。发现sudo时出现“无法解析的主机 XXXX" 的提示。马上就联想到不久前改过hosts,原来是主机名无法解析了,这样问题就好解决了
$ sudo vim /etc/hosts
加入以下行
127.0.0.1 (你现在的主机名) 127.0.1.1 (你现在的主机名)
之后 打开系统设置就非常快了
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK