How to change hostname manually in Oracle Linux 7?
- LuisaWalker
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
12 Dec 2019 13:57 #152531
by LuisaWalker
How to change hostname manually in Oracle Linux 7? was created 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
- Away
- Moderator
Less
More
- Posts: 19524
- Thank you received: 6553
12 Dec 2019 15:29 #152543
by tommylight
Replied by tommylight on topic How to change hostname manually in Oracle Linux 7?
/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.
/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