[CentOS] Re: Changing hostname?

Mon Sep 15 23:20:16 UTC 2008
Scott Silva <ssilva at sgvwater.com>

on 9-14-2008 12:06 AM Marcus Moeller spake the following:
> Dear Bob.
> 
>> /etc/sysconfig/network
>> Hostname=server1.mydomain.com
>> (where the domain is one of my websites on the server, actually my name
>> server too)
> 
> As mentioned before, I cannot see that this variable is used in any form.
> 
>> Change /etc/hosts
>> First of all, leave all the original stuff and do not alter.
>> Underneath the original stuff, just add
>> <ipaddress>  server1.mydomain.com
>>
>> REBOOT
> 
> If you have read the initial posting this is about setting up the
> hostname on machines without a network connection (but loopback).
> 
> Best Regards
> Marcus
Why does a system that doesn't have any way to communicate with any other 
machine even need a hostname?



-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080915/63e8b804/attachment-0005.sig>