Wednesday, October 10, 2012

hostname of redhat linux in AMI

/etc/hosts:
this is the place linux system search for ip matching

/etc/sysconfig/network:
this is the file for hostname command

You can user hostname to reset hostname.

reference:
http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system/
http://www.howtogeek.com/wiki/Change_the_Hostname_on_a_Redhat_Linux_Machine



No comments:

Post a Comment