Last active
August 29, 2015 14:14
-
-
Save Shellbye/f79d1645dbc1cbbe6798 to your computer and use it in GitHub Desktop.
set up http proxy
This file contains 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
#!/bin/sh | |
sudo apt-get update | |
sudo apt-get install -y squid3 | |
sudo cp /etc/squid3/squid.conf /etc/squid3/squid.conf.original | |
sudo chmod a-w /etc/squid3/squid.conf.original | |
echo "use vim /etc/squid3/squid.conf to change port(default 3128) and http_access allow" | |
# change port: http_port 8888 | |
# allow access: http_access allow all <==this should at top of all http_access | |
# ref: https://help.ubuntu.com/lts/serverguide/squid.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment