2014/05/10

May 10, 2014 at 07:12PM

cpan でプロキシを介さなければならないときの解決法のメモ.



cpan を起動して以下のコマンドで設定,



o conf http_proxy http://<proxy_server>:<proxy_port>/

o conf ftp_proxy http://<proxy_server>:<proxy_port>/


さらに
o commit
とすると,次回以降も同じ設定になるらしい.
最後の / を忘れないように注意.


参考URL: http://ift.tt/1ogfPQP



(1)「CPAN」を起動し、初期設定を飛ばす。 [root@mail1 ~]# perl -MCPAN -e shell We have to reconfigure CPAN.pm due to following uninitialized parameters: cpan_home, keep_source_where, build_dir, build_cache, scan_cache, index_expire, gzip, tar, unzip, make, pager, makepl_arg, make_arg, ...




Original post on Google+

0 件のコメント:

コメントを投稿