首页 > Windows开发 > 详细

windows安装squid加速代理网站怎么简单配置?

时间:2019-04-10 10:57:50      阅读:181      评论:0      收藏:0      [点我收藏+]

windows 上面安装squid 加速代理网站
  windows squid 下载 //www.jb51.net/softs/43599.html
  下载解压到 c:\squid
  c:\squid\etc\squid.conf 如下
  复制代码 代码如下:
   #本地绑定的IP端口
   http_port IP:80 vhost
   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.iis7.com/c/90/

windows安装squid加速代理网站怎么简单配置?

原文:https://www.cnblogs.com/ngnntds03/p/10681915.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!