How to Set or Change Hostname in CentOS 7 Leave a Comment / centos7 / By cloud host hostnamectl set-hostname your-new-hostname