栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > 服务器

windows上面安装squid加速代理网站配置方法

服务器 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

windows上面安装squid加速代理网站配置方法

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

windows squid 下载 https://www.jb51.net/softs/43599.html

下载解压到 c:squid

c:squidetcsquid.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:squidetcmime.conf.default 复制成 mime.conf

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

更多资料看这里 http://www.squid-cache.org/Doc/config/
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/184462.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号