centos修改hostname

hostnamectl set-hostname <hostname>

Last updated