下载 squid windows 3.0 版 shell
http://squid.acmeconsulting.it/download/squid-3.0.STABLE23-BZR-bin.zip windows
配置 squid/etc/squid.conf 缓存
http_port 172.168.18.25:3128 cache_mem 64 MB cache_dir ufs c:/squid/var/cache 1000 16 256 cache_effective_user squid cache_effective_group squid dns_nameservers 8.8.8.8 cache_access_log c:/squid/var/logs/access.log cache_log c:/squid/var/logs/cache.log cache_store_log c:/squid/var/logs/store.log visible_hostname 172.168.18.25 cache_mgr admin@163.com acl all src 0.0.0.0/0.0.0.0 http_access allow all
c:\squid\etc\mime.conf.default 复制成 mime.conf
建立缓存目录
c:\squid\sbin\squid -z
安装成服务
c:\squid\sbin\squid -i
启动服务
net start squid ui
windows 2008 下用管理员身份运行 cmd code