Login with ssh (Use putty.exe on Windows or Terminal in MacOS and Desktop Linux)
cd /etc/sysconfig/
vi network
Press i on the keyboard and change the HOSTNAME to your preferred servername
Press ESC on the keybord
Save the configuration by :wq!
Log off (type exit)