WARNING: Could not determine this machines public hostname. Please configure one or set ‘visible_hostname’.

在配置squid服务的透明正向代理服务,使用
squid -k parse
WARNING: Could not determine this machines public hostname. Please configure one or set 'visible_hos
squid -z
WARNING: Could not determine this machines public hostname. Please configure one or set 'visible_hos
都会报错!!!

解决方法:

修改配置文件/etc/hosts,如下:
WARNING: Could not determine this machines public hostname. Please configure one or set 'visible_hos

检验结果

WARNING: Could not determine this machines public hostname. Please configure one or set 'visible_hos

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-27
  • 2021-09-18
  • 2021-07-11
  • 2021-07-29
  • 2021-09-02
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2022-03-05
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
  • 2021-04-18
相关资源
相似解决方案