[CentOS] Changing hostname?
RobertH
roberth at abbacomm.net
Sat Sep 13 16:14:30 UTC 2008
>
> 127.0.0.1 localhost.localdomain localhost calimero.local
> calimero
>
> Best Regards
> Marcus
Marcus,
Per "man hostname"
FILES
/etc/hosts /etc/sysconfig/network
NOTE
Note that hostname doesnât change anything permanently. After reboot
original names from /etc/hosts are used again.
:-)
Do you really think one should tie the hostname to the loopback interface in
the /etc/hosts file
We recommend that one should not tie the actual hostname or FQDN to the
loopback interface.
There are very few limited implementation or security seclusion cases where
you would want to consider doing that
It should look like this as example in /etc/hosts
127.0.0.1 localhost.localdomain localhost calimero.local
x.y.z.a calimero.some123domain.com calimero
if the machine is not talking to another machine via network, then the
hostname doesnt really matter too much now does it?
Put a sticker on it.
;-)
Production server examples can be provided if you are having major issues.
- rh
More information about the CentOS
mailing list