[英]Installing strawberry perl in windows
I have installed perl in windows 7 and configured the proxy (http & ftp) as at How do I install a module? 我已经在Windows 7中安装了perl,并按照如何安装模块进行了配置(http和ftp) 。 Strawberry Perl issues by Axeman, replacing proxy with my lan proxy IP and port respectively.
Strawberry Perl由Axeman发行,分别用我的局域网代理IP和端口代替了代理。 However, when I run cpanm App::cpanminus, it returns a message for proxy authentication which has faile.
但是,当我运行cpanm App :: cpanminus时,它将返回失败的代理身份验证消息。 Its requesting for a username.
它要求输入用户名。
you need to set the http_proxy environment variable in the form: 您需要以以下形式设置http_proxy环境变量:
http_proxy=http://user:password@host:port/
Otherwise just use the cpan
client. 否则,只需使用
cpan
客户端。
Edit: 2012-08-29 编辑:2012-08-29
If you do not have the proxy username and password, you are not getting out through that proxy regardless of the client software. 如果您没有代理用户名和密码,则无论客户端软件如何,都不会通过该代理进行访问。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.