By -
陳 思敬
Linux 终端设置代理服务器
临时设置
export http_proxy="http://192.168.90.254:8080" echo $http_proxy export http_proxy=""
写入文件
# vim ~/.bashrc export http_proxy=http://username:password@proxyserver:port/ export ftp_proxy=http://username:password@proxyserver:port/ source ~/.bashrc
Subversion 代理服务器
# vim $HOME/.subversion/servers # [global] http-proxy-host = 192.168.90.254 http-proxy-port = 8080 http-proxy-username = scott http-proxy-password = tiger
wget 设置代理
$>wget -e http_proxy=192.168.90.254:8080 http://imgad0.3conline.com/ivy/image/201112/8/1323343968864.swf
curl 设置代理
$>curl -o test.swf -x 192.168.90.254:8080 http://imgad0.3conline.com/ivy/image/201112/8/1323343968864.swf
1 thought on “Linux 终端设置代理服务器”
Christen March 19, 2015 at 10:54 am
Windows根据IP反查主机
Reply