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_hostname’.

在配置squid服务的透明正向代理服务,使用
squid -k parse
在这里插入图片描述
squid -z
在这里插入图片描述
都会报错!!!

解决方法:

修改配置文件/etc/hosts,如下:
在这里插入图片描述

检验结果

在这里插入图片描述

发布了57 篇原创文章 · 获赞 58 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_36522099/article/details/105157101