We have moved to www.dataGenX.net, Keep Learning with us.
Showing posts with label centos. Show all posts
Showing posts with label centos. Show all posts

Tuesday, October 29, 2013

CentOS - Hostname Change


Hostname Change

There are 4 steps in a hostname change, luckily all the steps are easy.

Sysconfig/Network

Open the /etc/sysconfig/network file with your favorite text editor. Modify the HOSTNAME= value to match your FQDN host name.

Hosts File

Change the host that is associated to your main IPaddress for your server, this is for internal networking (found at /etc/hosts):