终端显示这个是什么意思呢
Tofloor
poster avatar
159******35
deepin
2017-06-14 19:24
Author
终端显示无法解析主机要怎么处理呢
Reply Favorite View the author
All Replies
avatar
Feng Yu
deepin
2017-06-14 19:33
#1
写入hosts文件就行了,把当前主机名加进去就完事了。不过你是不是改过主机名?默认安全的主机名是会被自动加入hosts的
Reply View the author
avatar
159******35
deepin
2017-06-14 20:09
#2
https://bbs.deepin.org/post/141031
写入hosts文件就行了,把当前主机名加进去就完事了。不过你是不是改过主机名?默认安全的主机名是会被自动 ...

hosts是直接下载替换的没有修改,可能是之前的被替换掉了
Reply View the author
avatar
jingle
deepin
2017-06-14 20:27
#3
jingle@jingle:~$ cat /etc/hosts
127.0.0.1        localhost
127.0.1.1   youname

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Reply View the author