Hostname
Hi there,
Is there a way to "statically" assign a hostname into a linux box? I've tried adding the hostname into the hosts file and even configured system-network-config thru gui and assign it there but it doesnt stay on the host name I wanted it to. I have CentOS 64bit and want to assign a static hostname: devqa-csaa12.csaa.com Everytime I reboot it goes back to localhost.localdomain System is not part of the domain/workgroup. Just need someone to give me an advise on this. Thanks! DB :o |
In /etc/sysconfig/network add a line that says HOSTNAME=whatever_you_want
|
Quote:
|
|
All times are GMT -5. The time now is 11:57 PM. |