- Posts: 1
- Thank you received: 0
How to change hostname manually in Oracle Linux 7?
- LuisaWalker
- Topic Author
- Offline
- New Member
-
Less
More
6 years 10 months ago #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 to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22015
- Thank you received: 4
6 years 10 months ago #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 to join the conversation.
Time to create page: 0.087 seconds
