rbgeek.wordpress.com
Initial Settings after installing the CentOS 7
1) To change the hostname permanently, edit the following file: sudo vi /etc/hostname Here you can simply put the name of your system (in my case, I have assigned it CentOS-7):