How to Change Hostname in CentOS 7
Manage the Hostname Using hostnamectl. You can run the following command to check for the current hostname Confirm that your current hostname, execute the following command [[email protected] home]# hostnamectl change…