Archive for 2006/05/08

squid安装笔记

 —- 安装 —- wget http://www.squid-cache.org/Versions/v2/2.5/squid-2.5.STABLE13.tar.gztar zxf squid-2.5.STABLE13.tar.gzcd squid-2.5.STABLE13./configure –prefix=/usr/localmakemake installvi /usr/local/squid/etc/squid.conf mkdir /var/squid/cachechown -R nobody:nobody /var/squid/cachechmod 0777 /var/squid/cache -R/usr/local/squid/sbin/squid -z/usr/local/squid/sbin/squid -NCd1    —- 配置文件 —- # 默认端口http_port 80 # 缓存暂用内存大小cache_mem 512 MBmaximum_object_size_in_memory 4128 KB # 缓存目录,及其大小cache_dir ufs /var/squid/cache 2048 16 256 # 关闭访问日志cache_access_log nonecache_log nonecache_store_log none auth_param basic children 5auth_param basic realm Squid proxy-caching web [...]

Read the rest of this entry »