求教deeping如何更改计算机名称?
Tofloor
poster avatar
daniel--di
deepin
2016-05-22 00:28
Author
求教deeping如何更改计算机名称?
Reply Favorite View the author
All Replies
avatar
hmy
deepin
2016-05-22 01:00
#1
设置中心里找找吧
Reply View the author
avatar
qq1015576210
deepin
2016-05-22 03:14
#2
本帖最后由 qq1015576210 于 2016-5-28 22:14 编辑

终端  hostname su 临时修改计算机名

下面这两个必须同时修改同一个名字否则会出现 sudo 无法解析主机的错误

一  终端  sudo gedit /etc/hostname  (永久)修改计算机名保存,重启即可


二  终端    sudo gedit /etc/hosts   (永久)修改计算机名保存

127.0.0.1    localhost
127.0.1.1   此处你要改的用户名

# 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
avatar
solituer
deepin
2016-05-22 05:27
#3
楼上+1。
Reply View the author
avatar
daniel--di
deepin
2016-05-23 19:56
#4
https://bbs.deepin.org/post/39567
终端  hostname su 临时修改计算机名
终端  sudo gedit /etc/hostname  (永久)修改计算机名修改计算机名 ...

非常感谢
Reply View the author
avatar
qq1015576210
deepin
2016-05-29 06:21
#5
Reply View the author
avatar
177******36
deepin
2016-05-30 18:36
#6
https://bbs.deepin.org/post/39567
终端  hostname su 临时修改计算机名

下面这两个必须同时修改同一个名字否则会出现 sudo 无法解析主机的错 ...


还是要回归命令啊,才是王道
界面是千变万化的
Reply View the author