Hạnh Nguyễn
Member
How do I permanently change the hostname in Linux 6?
Answer
How to Change the Hostname on RHEL 6/Centos 6 Server
Answer
How to Change the Hostname on RHEL 6/Centos 6 Server
- Modify /etc/sysconfig/network [
[email protected]
~]# vi /etc/sysconfig/network. - Edit to your preferred hostname : NETWORKING=yes HOSTNAME=MyNewHostname.localdomain.
- Save and reboot your server.