• Home » kb
  • How to Change Hostname in RHEL / CentOS 7.0

    Posted at November 11, 2016 at 12:58 pm by Jithin

    In this tutorial, we will be discussing on how to change the hostname in RHEL / CentOS 7.0. This is possible way much easier through command line.   Check Hostname To check the hostname, type the following command: $ hostname The default hostname of the system is localhost.localdomain. We can change it by editing the file, /etc/hostname.  This can be done by opening the file with a text editor and entering in  the desired hostname. $ vi /etc/hostname Please note that after th   [...]

    Read More