Nov 1, 2018

How to change hostname of CentOS/RedHat

sudo -i vi /etc/sysconfig/network

change the HOSTNAME to your preferred servername