* Tong* wrote:
Hi, Quick question how to change hostname under debian? I changed my /etc/hosts from 127.0.0.1 cxmr localhostThe hostname for your system is defined in /etc/hostname, not in /etc/hosts. However, there may be several places in the /etc directory where it is specified in various config files, such as /etc/hosts. There may be a squid config file that needs changing also. You might want to run something like "grep -r -n cxmr /etc" to find all the locations where the filename is used.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'
-- Kent