http://www.webupd8.org/2010/10/how-to-set-proxy-for-terminal-quick.html
即
export http_proxy=‘http://xxxx:xxx‘
取消代理:
unset http_proxy
linux 终端全局代理设置
原文:http://www.cnblogs.com/Tommy-Yu/p/4572071.html