[CentOS] Changing hostname?

Marcus Moeller mm at gcug.de
Sat Sep 13 07:53:15 UTC 2008


Dear Niki.

> 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

Best Regards
Marcus


More information about the CentOS mailing list