Breaking News
Loading...
Friday, August 9, 2013

How to Change the Hostname on Linux CentOS 6.4/Redhat 6 using Command

9:15 AM

 

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
    
Step 2. Edit to your preferred hostname :
    NETWORKING=yes
    HOSTNAME=MyNewHostname.localdomain
    
Step 3. Save and reboot your server

0 comments:

Post a Comment

 
Toggle Footer