参考:http://www.bijimi.com/other/os/27486.html
export http_proxy="http://用户名:密码@代理IP:代理端口"
如export http_proxy="http://myname:12345!2#@server:888"
就会提示Error parsing proxy URL:... bad port number
此时需要把密码做URL 编码。这个直接百度,有现成的工具 (应该就是转asci 吧)
http://www.baidu.com/s?cl=3&wd=URL+%B1%E0%C2%EB
再试试就好了