How to Set or Change Hostname in CentOS 7 / RHEL 7

After installing the CentOS 7 on my server, I tried to change hostname by modifying the /etc/sysconfig/network, but the change did not take an effect of the modification. Even after multiple reboots of the server, the hostname remained localhost.localdomain. I found that the procedure to change the hostname in CentOS 7 is now totally different … Continue reading How to Set or Change Hostname in CentOS 7 / RHEL 7