Last active
August 3, 2018 00:03
-
-
Save UbuntuEvangelist/3021610036ab6c94c51080c7a9d0e42c to your computer and use it in GitHub Desktop.
compile and install squid to run with more than 128 IPs on Ubuntu 16.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get update && sudo apt-get upgrade --fix-missing | |
| sudo apt-get install build-essential | |
| sudo apt-get install build-essential checkinstall | |
| sudo apt-get install ubuntu-restricted-extras | |
| sudo add-apt-repository -y ppa:videolan/stable-daily | |
| sudo add-apt-repository -y ppa:gnome3-team/gnome3 | |
| sudo add-apt-repository -y ppa:webupd8team/java | |
| sudo add-apt-repository -y ppa:webupd8team/y-ppa-manager | |
| sudo add-apt-repository ppa:nilarimogard/webupd8 | |
| sudo apt-get -s autoremove | |
| echo "Cleaning Up" && | |
| sudo apt-get -f install && | |
| sudo apt-get autoremove && | |
| sudo apt-get -y autoclean && | |
| sudo apt-get -y clean | |
| sudo apt-get update --fix-missing | |
| sudo apt-get upgrade --fix-missing | |
| sudo apt-add-repository ppa:git-core/ppa | |
| sudo apt-get update | |
| sudo apt-get install git | |
| sudo git clone https://github.com/squid-cache/squid.git | |
| sudo cd squid | |
| sudo ./configure --prefix=/usr/local/squid CXXFLAGS="-DMAXTCPLISTENPORTS=128" | |
| sudo make all | |
| sudo make install | |
| squid -v | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment