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?

Copyright © 2020 Crunchify, LLC.  •  Pro Services  •  Contact  •  Hosted at DiscourseHosting.