Change Hostname on CentOS/RHEL/OEL 7

Change hostname by hostnamectl

Assalamu'alaikum Wr. Wb. My machine running CentOS Linux release 7.3.1611 (Core). There are some different between redhat based version under 7 and and above 6, include the commands. In this case, I wanna change the hostname from to At the redhat based version under 7, I can change by /etc/sysconfig/network. So, how about… Continue reading Change Hostname on CentOS/RHEL/OEL 7