Manually append “HOSTNAME=dbametrix.com” into file /etc/sysconfig/network and restart system does not work on Oracle Linux 7. Could anybody guide me how to change hostname manually in Oracle Linux 7?
what’s the contents of
for how to use hostnamectl set-hostname to change the hostname.
for how to edit /etc/hostname manually.