免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2299 | 回复: 1

[proxy] Squid求助 [复制链接]

论坛徽章:
0
发表于 2003-03-03 18:26 |显示全部楼层
单位使用ADSl上网,现想代理50台机器上网,
下载Squid*.tar.gz
tar xvfz squid*
#cd squid*
#./configure --prefix=/usr/local/squid //这里设定我的安装目录
#make
#make install
写配置如下(想做透明代理):
## proxy server xibu
## 3/3/03
http_port 3128
icp_port 3130
cache_dir ufs /var/squid 500 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
acl all src 0.0.0.0/0.0.0.0
cache_mem 8 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 2048 KB
##########################################
###  (iptables+squid)                  ###
##########################################
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cache_effective_user nobody
cache_effective_group nobody
http_access allow all
//
运行x/bin/squid -z //建立快取
./squid 运行
可运行 ps -A|grep squid
netstat -ln
均没有发现有运行的迹象
在编译中也没有出现错误,不知是何原因

论坛徽章:
0
发表于 2003-04-28 22:20 |显示全部楼层

Squid求助

你用./squid 是不可以运行的,你可以试一下命令:./squid -NsY
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP