How to Change the
Hostname on RHEL 6/Centos
Method 1:
Go
to this location and change the hostname
[root@ranesh ~]# vi /etc/sysconfig/network
Save and exit
Reboot the server.
Method 2:
After giving
system-config-network select Dns configuration and edit hostname
[root@ranesh ~]#
system-config-network
Reboot the server.
No comments:
Post a Comment