Tuesday, February 24, 2015

How to change the hostname in Oracle linux OS server

1- vi /etc/sysconfig/network
2- edit the valus of HOSTNAME in that file to the value you want.
3- Replace the old value with the new value in /etc/hosts
4- Reboot the server

Regards,
Mohamed

No comments:

Post a Comment