在Ubuntu 11.10终端可以用hostname查看主机名。主机名存放在/etc/hostname中 ,sudo gedit /etc/hostname 修改后保存
/etc/hosts还有一个备份 , sudo gedit /etc/hosts 修改保存,重启即可。
127.0.0.1 localhost
127.0.1.1 www-linuxidc-com
# 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
CentOS 5.4编译安装Wine全程记录在Ubuntu 11.10下通过APT安装Google Chrome相关资讯 Ubuntu 11.10
- Ubuntu 11.10使用软RAID时需要注意 (04/10/2012 06:40:19)
- 64位 Ubuntu 11.10 安装及配置Java (03/17/2012 19:18:46)
- Dell R210 安装Ubuntu 11.10 (03/17/2012 19:15:02)
| - Windows 7 + Ubuntu 11.10双系统安 (03/30/2012 12:15:05)
- 在Ubuntu 11.10下安装显卡后进不了 (03/17/2012 19:17:44)
- Ubuntu 11.10下成功安装Java (03/09/2012 08:12:58)
|
本文评论 查看全部评论 (0)