[CentOS] Changing hostname?

Niki Kovacs contact at kikinovak.net
Sat Sep 13 09:25:11 UTC 2008


Marcus Moeller a écrit :
> 
>> 2) add a line to /etc/hosts like this:
> 
>> # Do not remove the following line, or various programs
>> # that require network functionality will fail.
>> 127.0.0.1       localhost.localdomain   localhost
>> 127.0.0.1       calimero.local          calimero
>> ::1     localhost6.localdomain6 localhost6
> 
> It should look like this:
> 
> 127.0.0.1       localhost.localdomain    localhost   calimero.local    calimero
> 
I've been considering both syntaxes, and I wonder (with the 
scrupulousness of a medieval theologist) if there's any difference 
between them. And if so, what are the consequences?

Niki



More information about the CentOS mailing list