在全球范围内安装作曲家的步骤有:https://getcomposer.org/doc/00-intro.md#globally卷曲不能下载Composer安装,抱怨8888端口
的命令有:
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
但原来的命令: curl -sS https://getcomposer.org/installer | php
回报:curl: (7) Failed connect to getcomposer.org:8888; Connection refused
如果把:80
在URL中的命令:curl -sS https://getcomposer.org:80/installer | php
回报:curl -sS -P 80 https://getcomposer.org/installer | php
回报:curl: (7) Failed connect to getcomposer.org:8888; Connection refused
如果与-P
命令tell端口curl: (7) Failed connect to getcomposer.org:8888; Connection refused
有人在这里:Installing composer using vagrant, hhvm, and Ubuntu 14.04
告诉尝试wget的我试着和结果:
命令:wget https://getcomposer.org/installer
返回:--2014-08-29 19:13:24-- https://getcomposer.org/installer Connecting to 127.0.0.1:8888... failed: Connection refused
。
该命令:wget https://getcomposer.org:80/installer
。
returns: --2014-08-29 19:13:40-- https://getcomposer.org:80/installer Connecting to 127.0.0.1:8888... failed: Connection refused
林在Linux Mint的Debian的安装版,并将其抱怨端口8888
我可以ping getcomposer.org
和telnet getcomposer.org:80
有人能看到什么即时做错了什么?
有人投票反对这个问题,但无法告诉它有什么问题
Curl应该连接到端口443上的getcomposer.org作为其https网站。 'curl -v https://getcomposer.org/installer -o/dev/null'的输出是什么? – Yuvika 2014-08-30 11:04:10
这看起来像是我的本地代理。是否有任何有关“代理”定义的环境变量? – Sven 2014-08-30 18:38:41