Tuesday, November 18, 2014

[OEL] Change Hostname

Here are the steps for chaging the server hostname:
1. With a text editor (like vi), open the file /etc/sysconfig/network.
2. Change the value of the entry HOSTNAME=.
3a. Restart the xinetd service:
service xinetd restart
3b. Reboot the machine:
init 6
4. Change any entries on the /etc/hosts file.

Problem solved!