在全球範圍內安裝作曲家的步驟有: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