2016-09-03 10 views
2

url = "http://saimei.acc.umu.se/debian-cd/8.5.0/i386/iso-cd/debian-8.5.0-i386'http_proxy'は.curlrc設定ファイルの末尾にはサポートされていませんでした

url="http://saimei.acc.umu.se/debian-cd/8.5.0/i386/iso-cd/debian-8.5.0-i386-netinst.iso" 
curl -x "vps_ip:80" $url -o /tmp/netinst.iso 

/tmp/debian.iso のwget -c $のURLの-Oなしエラー情報出力「-netinst.iso、今私はカール設定ファイルにHTTP_PROXYを書きたいです。

vim /root/.curlrc 
http_proxy="http://vps_ip:80" 

カールを開始しましょう。

curl $url -o /tmp/netinst.iso 

Warning: /root/.curlrc:1: warning: 'http_proxy' had unsupported trailing 
Warning: garbage 

/root/.curlrcでは何が問題になりますか?

答えて

3

代わりに以下のことを試してみてください。

proxy=http://vps_ip:80 
関連する問題