how to setup host name in Linux version 7 RHEL 7/Centos 7

In Redhat Enterprise Linux 5 and version 6 we have to edit file located in...