Skip to content

Instantly share code, notes, and snippets.

@LeeiFrankJaw
Last active August 14, 2018 10:14
Show Gist options
  • Save LeeiFrankJaw/2491cae063ded8cf198917bf9ec1bad6 to your computer and use it in GitHub Desktop.
Save LeeiFrankJaw/2491cae063ded8cf198917bf9ec1bad6 to your computer and use it in GitHub Desktop.
Compile Squid from Source for Ubuntu 16.04.3 LTS
wget http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.27.tar.xz
tar xvf squid-3.5.27.tar.xz
cd squid-3.5.27/
./configure --prefix=/usr/local \
--exec-prefix='${prefix}' \
--localstatedir=/var \
--libexecdir='${prefix}/libexec/squid' \
--datadir='${prefix}/share/squid' \
--sysconfdir=/etc/squid \
--with-default-user=proxy \
--with-logdir=/var/log/squid \
--with-pidfile=/var/run/squid.pid \
--with-gnutls \
--enable-auth
make all
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment