私はCPANトラフプロキシを実行する必要がありますが、私は設定しようとすると、私はエラーを持って、初めてCPANにプロキシ設定でCPAN最初の打ち上げ(プロキシ構成)
[email protected]:~# cpan
CPAN.pm requires configuration, but most of it can be done automatically.
If you answer 'no' below, you will enter an interactive dialog for each
configuration option instead.
Would you like to configure as much as possible automatically? [yes] no
を入力してくださいカント:
If you're accessing the net via proxies, you can specify them in the
CPAN configuration or via environment variables. The variable in
the $CPAN::Config takes precedence.
<ftp_proxy>
Your ftp_proxy? [] http://username:[email protected]:Port/ <---- is ok the information?
<http_proxy>
Your http_proxy? [] http://username:[email protected]:Port/ <---- is ok the information?
<no_proxy>
Your no_proxy? []
If your proxy is an authenticating proxy, you can store your username
permanently. If you do not want that, just press ENTER. You will then
be asked for your username in every future session.
Your proxy user id? [] <---- username is needed again?
Your password for the authenticating proxy can also be stored
permanently on disk. If this violates your security policy, just press
ENTER. You will then be asked for the password in every future
session.
Your proxy password?
これまでに私はこれを手に入れました。
Fetching with HTTP::Tiny:
http://www.perl.org/CPAN/MIRRORED.BY.gz
Error downloading with HTTP::Tiny: Not a CODE reference at /usr/share/perl/5.18/CPAN/HTTP/Client.pm line 112, <STDIN> line 65.
イムうん、これはかなり腹立たしいあるのUbuntu Serverの14.04 LTSとPerl 5.18.2
おかげ
...プロキシ設定を単なるURLとして指定し、ユーザ/パスを別々に指定してみましたか? – Sobrique
ように あなたのftp_proxy? [] http:// ipaddress:port/ http_proxy? [] http:// ipaddress:port/ と前にパスしますか?はい、私は同じものを得ます... –
このようにCPANをインストールすることはできません: 'export http_proxy = http://httpproxy.test.com:8080 /;エクスポートhttps_proxy = $ http_proxy' – AbhiNickz