wget http://www.squid-cache.org/Versions/v4/squid-4.17.tar.gz tar xzf squid-4.17.tar.gz cd squid-4.17 ./configure CXXFLAGS="-DMAXTCPLISTENPORTS=3000" --prefix=/usr --localstatedir=/var--libexecdir=${prefix}/lib/squid --datadir=${prefix}/share/squid --sysconfdir=/etc/squid --with-default-user=proxy --with-logdir=/var/log/squid --with-pidfile=/var/run/squid.pid make make install
auth_param basic program /usr/libexec/basic_ncsa_auth /etc/squid/passwd auth_param basic children 500 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours auth_param basic casesensitive off
acl auth_users proxy_auth REQUIRED acl all src all http_access allow all auth_users http_access deny all