我是靠谱客的博主 大胆小蚂蚁,这篇文章主要介绍windows上面安装squid加速代理网站配置方法,现在分享给大家,希望可以做个参考。

windows 上面安装squid 加速代理网站

windows squid 下载 http://www.uoften.com/softs/43599.html

下载解压到 c:\squid

c:\squid\etc\squid.conf 如下

复制代码 代码如下:

#本地绑定的IP端口
http_port IP:80 vhost
visible_hostname localhost
cache_dir ufs c:/squid/cache 1024 16 256
cache_mem 100 MB
#代理的IP地址和端口
cache_peer ip地址 parent 80 0 no-query originserver weight=1 name=a
cache_peer IP地址 parent 80 0 no-query originserver weight=1 name=b
#加速两个站点
cache_peer_domain a www.aaa.com
cache_peer_domain b www.bbb.com

acl all src 0.0.0.0/0.0.0.0
http_access allow all
cache_peer_access a allow all
cache_peer_access b allow all
tcp_recv_bufsize 65535 bytes

cache_mgr phpsir@qq.com
icp_port 0


c:\squid\etc\mime.conf.default 复制成 mime.conf

创建缓存目录
c:\squid\sbin\squid -z
安装成服务
c:\squid\sbin\squid -i
启动服务
net start squid

更多资料看这里 http://www.squid-cache.org/Doc/config/

最后

以上就是大胆小蚂蚁最近收集整理的关于windows上面安装squid加速代理网站配置方法的全部内容,更多相关windows上面安装squid加速代理网站配置方法内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(164)

评论列表共有 0 条评论

立即
投稿
返回
顶部