How to change hostname manually in Oracle Linux 7?

More
12 Dec 2019 13:57 #152531 by LuisaWalker
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?

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
12 Dec 2019 15:29 #152543 by tommylight
/etc/hosts
/etc/hostname
On both of those files is the name of the system, so it has to match on both. Do not append, replace the existing one with the one you want.

Please Log in or Create an account to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum