Ubuntu命令行設置代理的示例:
1.打開終端命令行。
2.輸入以下命令設置代理即可。
export http_proxy="http://usrname:passwrd@host:port"export ftp_proxy="http://usrname:passwrd@host:port"export http_proxy=http://server-ip:port/
export http_proxy="http://usrname:passwrd@host:port"
export ftp_proxy="http://usrname:passwrd@host:port"
export http_proxy=http://server-ip:port/