How to change hostname manually in Oracle Linux 7?

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?

You’re on the ClearLinux forums. You’re asking about Oracle Linux. The proper place to ask your question is not on this forum.