How to setup proxy for SVN (subversion)
.style1 { background-color: #000000; } .style2 { color: #FFFFFF; }
If you are trying to download an svn package (subversion), use an http proxy server, and you are using a flavor of Unix or Linux, just setting your http_proxy variable will not work for you. You need to setup a file in your home directory. Here are the steps to get it to work:
- First you have to make sure that you have subversion installed ( you can download subversion here: http://subversion.tigris.org )
- Once you have it installed and you can run from your command-line, create a hidden directory in your home directory called ".subversion"
- Now create a text file named servers (i.e. vi servers)
- Inside this file type:
[global]
http-proxy-exceptions = *.example.com
http-proxy-host = yourProxyServer.example.com
http-proxy-port = 8080 #proxy server port number
# http-proxy-username = defaultusername
# http-proxy-password = defaultpassword
# http-compression = no
You will need to uncomment user information if your proxy configuration requires it.