[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] server hostname problems



On Mon, May 07, 2007 at 03:33:26PM -0700, Dan Young wrote:
> Rob Owens wrote:
> > I have a CentOS 4 server that is properly recognized by the domain 
> > controller, so I think I must have something that's not set right in
> > the K12LTSP machine.  Can somebody point me to a list of steps to
> > take to properly set the hostname of my server?  Command line is
> > fine, maybe even preferable.
> 
> Add the hostname to the localhost line in /etc/hosts, set
> HOSTNAME=foo in /etc/sysconfig/network, then either reboot or do:
> 
> hostname foo
> 
> at a shell.

Thanks, I'll try it tomorrow.  Just for clarification, does /etc/hosts
need the fully-qualified domain name, or just the first part?  My
working CentOS 4 box only has the first part, like this:

127.0.0.1	localhost.localdomain localhost myservername

-Rob


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]