windows下安装squid详解

windows下安装squid详解

ID:30363655

大小:71.04 KB

页数:3页

时间:2018-12-29

windows下安装squid详解_第1页
windows下安装squid详解_第2页
windows下安装squid详解_第3页
资源描述:

《windows下安装squid详解》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库

1、linux下安装Squid代理参考:http://zhidao.zgsj.com/article/12/2011228155429.shtml一.下载squidforwindows  下载地址:http://www.acmeconsulting.it/SquidNT.html二.Windows下安装squid与配置  1.解压squid-2.6.STABLE6-NT-bin.zip到C:squid  2.单击[开始],选择“运行”,输入cmd,在命令提示符窗口内输入以下命令:  C:>cdc:squidetc  C:squidetc>co

2、pysquid.conf.defaultsquid.conf  **将Squid的默认配置文件复制一份并起名为squid.conf  C:squidetc>copymime.conf.defaultmime.conf  **将mime.conf.default复制一份并起名为mime.conf  3.编辑squid.conf,根据需要添加和修改以下内容  http_port3128                ;定义squid监听端口  visible_hostnametianwei-itrus:定义机器名  cache_mem64MB    

3、           ;定义代理服务器缓存  aclallsrc0.0.0.0/0.0.0.0  aclmanagerprotocache_object  acllocalhostsrc127.0.0.1/255.255.255.255 :定义本地网络为localhost  acloutnetwork 192.168.10.0/255.255.255.0  aclSSL_portsport443  aclSafe_portsport80 #定义http端口  aclSafe_portsport21 #定义ftp端口  aclSafe_portspor

4、t443 #https  aclSafe_portsport70 #gopher  aclSafe_portsport210 #wais  aclSafe_portsport1025-65535#unregisteredports  aclSafe_portsport280 #http-mgmt  aclSafe_portsport488 #gss-http  aclSafe_portsport1863 #filemaker  aclSafe_portsport777 #multilinghttp  aclCONNECTmethodCONNECT  

5、http_accessallowlocalhostmanager  http_accessallowoutnetwork  icp_accessallowall  http_accessdeny!Safe_ports  http_accessdenyCONNECT!SSL_ports  http_reply_accessallowall  icp_accessallowall  http_accessdenyall三.Windows下安装squid完成后,启动squid  c:>cdc:squidsbin  C:squidsbin>squi

6、d-i(注册Squid为Windows的服务)  C:squidsbin>squid-z(生成高速缓存的目录)  C:squidsbin>squid

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。