#!/bin/bash
./configure --prefix=/usr/local/squid3 \
--enable-dlmalloc \
--enable-debug-cbdata \
--enable-async-io=100 \
--with-pthreads \
--enable-storeio="aufs,coss,diskd,ufs" \
--enable-removal-policies="heap,lru" \
--enable-icmp \
--enable-delay-pools \
--enable-useragent-log \
--enable-referer-log \
--disable-wccp \
--disable-wccpv2 \
--enable-kill-parent-hack \
--enable-arp-acl \
--enable-snmp \
--enable-default-err-language=Simplify_Chinese \
--enable-err-languages="Simplify_Chinese English" \
--disable-poll \
--enable-epoll \
--disable-ident-lookups \
--disable-internal-dns \ 禁用DNS
--enable-truncate \
--enable-underscores \ 下划线
--enable-follow-x-forwarded-for \ 得到真实IP
--enable-basic-auth-helpers="NCSA" \
--enable-stacktrace \
--with-winbind-auth-challenge \
--enable-large-cache-files --with-large-files \ 大文件
--with-maxfd=32768\
--enable-ssl \
--enable-x-accelerator-vary
阅读(1731) | 评论(0) | 转发(0) |