Squid启动报:Could not determine this machines public hostname. Please configure one or set 'visible_hostname'.
在squid.conf中添加
visible_hostname squid.packet-pushers.net
或者编辑/etc/hosts文件,
在该文件中制定主机IP地址与主机名的对应.
本文介绍了解决Squid代理服务器启动时遇到的主机名配置错误问题的方法。通过在squid.conf文件中添加可见主机名配置或者修改/etc/hosts文件来确保Squid能够正确识别主机名称。
在squid.conf中添加
visible_hostname squid.packet-pushers.net
或者编辑/etc/hosts文件,
在该文件中制定主机IP地址与主机名的对应.

被折叠的 条评论
为什么被折叠?