= Squid = Web proxy == Setup system wide proxy == {{{#!highlight bash # sudo nano /etc/profile.d/proxy.sh export http_proxy="http://192.168.1.123:3128/" export https_proxy="http://192.168.1.123:3128/" export ftp_proxy="http://192.168.1.123:3128/" export no_proxy="127.0.0.1,localhost" # For curl export HTTP_PROXY="http://192.168.1.123:3128/" export HTTPS_PROXY="http://192.168.1.123:3128/" export FTP_PROXY="http://192.168.1.123:3128/" export NO_PROXY="127.0.0.1,localhost" sudo chmod +x /etc/profile.d/proxy.sh source /etc/profile.d/proxy.sh # nano /etc/environment export http_proxy="http://192.168.1.123:3128/" export https_proxy="http://192.168.1.123:3128/" export ftp_proxy="http://192.168.1.123:3128/" export no_proxy="127.0.0.1,localhost" # For curl export HTTP_PROXY="http://192.168.1.123:3128/" export HTTPS_PROXY="http://192.168.1.123:3128/" export FTP_PROXY="http://192.168.1.123:3128/" export NO_PROXY="127.0.0.1,localhost" }}}