下載 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