1.svn:
~$ vi ~/.subversion/servers
[global]
http-proxy-host = xxx.xxx.xxx.xxx
http-proxy-port = xxxx
2.git
~$ wget http://www.meadowy.org/~gotoh/ssh/connect.c
~$ gcc -o connect connect.c
~$ sudo cp connect /usr/local/bin
~$ sudo vi /usr/local/bin/http-proxy-gw
#!/bin/sh
/usr/local/bin/connect -H xxx.xxx.xxx.xxx:xxxx $@
~$ sudo chmod a+x /usr/local/http-proxy-gw
~$ sudo git config --global core.gitProxy "/usr/local/bin/http-proxy-gw"
3.wget
~$ sudo vi /etc/wgetrc
http_proxy = http://xxx.xxx.xxx.xxx:xxxx/
ftp_proxy = http://xxx.xxx.xxx.xxx:xxxx/
use_proxy = on
proxy-user= xxxx
proxy-password= xxxx
4.system
~$ export http_proxy=http://xxx.xxx.xxx.xxx:xxxx/