linux system centos6 permanent hostname change
Usually the hostname displayed by the system we installed is hard to read, and it is more comfortable to change it to your preferred operation. Today it's about temporary and permanent hostname changes under centos6 system under linux.
Introducing first Temporary modifications command hostname， Let's say we want to change the hostname toadmin
Typing "hostname admin" worked, but it didn't change, exiting xshell and reconnecting again found it had been fixed