Advertisement
albspirit86

squid configure

Nov 19th, 2015
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. sudo apt-get update
  2. sudo apt-get upgrade
  3. sudo reboot
  4.  
  5. sudo apt-get install build-essential fakeroot devscripts gawk gcc-multilib dpatch
  6. sudo apt-get build-dep squid3
  7. sudo apt-get install libssl-dev
  8. sudo apt-get install libcap-* -y
  9.  
  10. cd /tmp
  11. wget http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.15-20160302-r14000.tar.gz
  12. tar zxvf http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.15-20160302-r14000.tar.gz
  13. cd squid-3.5.15-20160302-r14000
  14.  
  15.  
  16. ./configure \
  17. --prefix=/usr \
  18. --bindir=/usr/bin \
  19. --sbindir=/usr/sbin \
  20. --libexecdir=/usr/lib/squid \
  21. --sysconfdir=/etc/squid \
  22. --localstatedir=/var \
  23. --libdir=/usr/lib \
  24. --includedir=/usr/include \
  25. --datadir=/usr/share/squid \
  26. --infodir=/usr/share/info \
  27. --mandir=/usr/share/man \
  28. --disable-dependency-tracking \
  29. --disable-strict-error-checking \
  30. --enable-async-io=32 \
  31. --with-aufs-threads=32 \
  32. --with-pthreads \
  33. --enable-storeio=ufs,aufs,diskd \
  34. --enable-removal-policies=lru,heap \
  35. --with-aio \
  36. --with-dl \
  37. --enable-icmp \
  38. --enable-esi \
  39. --enable-icap-client \
  40. --disable-wccp \
  41. --disable-wccpv2 \
  42. --enable-kill-parent-hack \
  43. --enable-cache-digests \
  44. --disable-select \
  45. --enable-http-violations \
  46. --enable-linux-netfilter \
  47. --enable-follow-x-forwarded-for \
  48. --disable-ident-lookups \
  49. --disable-ipv6 \
  50. --enable-x-accelerator-vary \
  51. --enable-zph-qos \
  52. --with-default-user=proxy \
  53. --with-logdir=/var/log/squid \
  54. --with-pidfile=/var/run/squid.pid \
  55. --with-swapdir=/cache \
  56. --with-large-files \
  57. --with-openssl \
  58. --enable-ltdl-convenience \
  59. --with-filedescriptors=65536 \
  60. --enable-ssl \
  61. --enable-ssl-crtd \
  62. --disable-auth \
  63. --enable-err-languages=English \
  64. LAX_HTTP=on
  65. ##############################
  66. make
  67. make install
  68. make install-pinger
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement