[url]http://www.ichiayi.com/wiki/tech/linux_hostname[/url] su root vim /etc/hosts vim /etc/sysconfig/network hostname命令查看当前hostname 重新登录