如何修改redhat的主机名称(hostname)

来源:互联网 发布:mp3顺序排列软件 编辑:程序博客网 时间:2024/05/21 12:20
Re: How to change the host name of redhat linux guest OS?

Edit the following files:

/etc/sysconfig/network
/etc/hosts


and for it to take effect right away, also run the following command:

 

/bin/hostname newhostname

参考地址:http://communities.vmware.com/thread/278659

原创粉丝点击