Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get update
- sudo apt-get upgrade
- sudo reboot
- sudo apt-get install build-essential fakeroot devscripts gawk gcc-multilib dpatch
- sudo apt-get build-dep squid3
- sudo apt-get install libssl-dev
- sudo apt-get install libcap-* -y
- cd /tmp
- wget http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.15-20160302-r14000.tar.gz
- tar zxvf http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.15-20160302-r14000.tar.gz
- cd squid-3.5.15-20160302-r14000
- ./configure \
- --prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --libexecdir=/usr/lib/squid \
- --sysconfdir=/etc/squid \
- --localstatedir=/var \
- --libdir=/usr/lib \
- --includedir=/usr/include \
- --datadir=/usr/share/squid \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man \
- --disable-dependency-tracking \
- --disable-strict-error-checking \
- --enable-async-io=32 \
- --with-aufs-threads=32 \
- --with-pthreads \
- --enable-storeio=ufs,aufs,diskd \
- --enable-removal-policies=lru,heap \
- --with-aio \
- --with-dl \
- --enable-icmp \
- --enable-esi \
- --enable-icap-client \
- --disable-wccp \
- --disable-wccpv2 \
- --enable-kill-parent-hack \
- --enable-cache-digests \
- --disable-select \
- --enable-http-violations \
- --enable-linux-netfilter \
- --enable-follow-x-forwarded-for \
- --disable-ident-lookups \
- --disable-ipv6 \
- --enable-x-accelerator-vary \
- --enable-zph-qos \
- --with-default-user=proxy \
- --with-logdir=/var/log/squid \
- --with-pidfile=/var/run/squid.pid \
- --with-swapdir=/cache \
- --with-large-files \
- --with-openssl \
- --enable-ltdl-convenience \
- --with-filedescriptors=65536 \
- --enable-ssl \
- --enable-ssl-crtd \
- --disable-auth \
- --enable-err-languages=English \
- LAX_HTTP=on
- ##############################
- make
- make install
- make install-pinger
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement