In this post, i will show you how to change the hostname on linux Red Hat Enterprise Linux 6 (RHEL 6)
Step 1. Modify /etc/sysconfig/network
[root@localhost ~]# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=MyNewHostname.localdomain
[root@localhost ~]# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=MyNewHostname.localdomain
0 comments:
Post a Comment