On Fri, 31 Aug 2007, Jonathan Wilson wrote:


Can anyone who /knows/ tell me what the proper officially correct ways of
setting the hostname and the FQDN are, please?

Thanks,

        JW


--

in /etc/hostname :
myhostname
in /etc/hosts:
10.0.0.120 myhostname.mydomain.com  myhostname


set those then run /etc/init.d/hostname.sh as root, this gets ran at boot up, but you can run it and reset the hostname this way.

now when I run hostname -f I get my FQDN, you'll have to restart any services that rely on this as well after changing it.



-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to