Created
May 27, 2013 12:48
-
-
Save anonymous/5656901 to your computer and use it in GitHub Desktop.
Be happy with Ubuntu and HTTP Proxy
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
#This is an simple proxy configuration for Ubuntu (tested only in Ubuntu) | |
#With this configuration you will shurf on web, use apt or aptitude, use curl | |
#and use the composer (getcomposer.org) | |
#Just for proxy work correct | |
export http_proxy="http://username:[email protected]:8080" | |
export https_proxy="http://username:[email protected]:8080" | |
export HTTP_PROXY="http://username:[email protected]:8080" | |
export HTTPS_PROXY="http://username:[email protected]:8080" | |
export FTP_PROXY="http://username:[email protected]:8080" | |
export HTTP_PROXY_REQUEST_FULLURI=false | |
#Alias for curl. Only Because of proxy | |
alias curl="curl --proxy http://username:[email protected]:8080" | |
#if you want by pass the proxy | |
export bypassproxy="ssh [email protected] -D8080 -C &" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment