Changing hostname

From: * Tong* (sun_tong_001_at_yahoo.com)
Date: 07/12/04

  • Next message: * Tong*: "Re: Any way to search executable name?"
    To: debian-user@lists.debian.org
    Date: Mon, 12 Jul 2004 17:57:16 -0400
    
    

    Hi,

    Quick question how to change hostname under debian?

    I changed my /etc/hosts
    from
    127.0.0.1 cxmr localhost
    to
    127.0.0.1 cxmr.dyndns.org localhost

    but why my hostname is still reporting merely 'cxmr'?
    How to fix it? (Surely I've rebooted).

    Thanks

    PS. is it the reason that I can't start squid?:

    # /etc/init.d/squid start
    Starting proxy server: FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: * Tong*: "Re: Any way to search executable name?"

    Relevant Pages

    • RE: how to change hostname
      ... Asunto: Re: how to change hostname ... The hostname command only sets the current hostname in the ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". ... Checked by AVG Anti-Virus. ...
      (Debian-User)
    • Re: Changing hostname
      ... > Quick question how to change hostname under debian? ... > but why my hostname is still reporting merely 'cxmr'? ... you host name is merely cxmr. ...
      (Debian-User)
    • Re: change hostname
      ... Regards ... Afsin Taskiran ... Subject: change hostname ...
      (Debian-User)
    • Re: Changing hostname
      ... > but why my hostname is still reporting merely 'cxmr'? ... How to fix it? ...
      (Debian-User)
    • Lost my hostname
      ... Suddenly when trying to print or save a letter in Kmail I get the message ... How can I change hostname to what I want it to be? ...
      (alt.os.linux.suse)