2013-08-26 5 views
2

작곡가가 서버에서 작동하게하려고하지만 저장소를 설치/업데이트하는 데 계속 문제가 발생합니다.기업 방화벽 뒤에서 작곡가를 사용하여 업데이트/설치할 수 없습니다.

나는이 모든 것을 달성하기 위해 올바르게 환경 변수를 설정 한

:

"config": { 
    "github-protocols": ["https"] 
} 

우리는 업데이트하려고 : 나는 또한 프로토콜 만 구성 지시어를 사용하여 HTTPS를 사용하여 내 작곡가를 강제

http_proxy=http://fastweb.int.bell.ca:8083/ 
ftp_proxy=ftp://fastweb.int.bell.ca:8083/ 
HTTP_PROXY_REQUEST_FULLURI=false 

SSL certificate rejected trying to access GitHub over HTTPS behind firewall에있는 ca_bundle은 GIT_SSL_NO_VERIFY를 설정하거나/etc/pki/tls/certs에 ca-bundle.crt를 업데이트하여 ...

아무 것도 작동하지 않습니다! 여기

은 도움이 될 경우 그냥 내가 할 수있는 확인 여전히 아무것도 ...

./composer.phar update Loading composer repositories with package 
information Updating dependencies (including require-dev) 
    - Updating crazycodr/data-transform (dev-master 11f8499 => 2.0.2) 
    Checking out 11f8499d0027468705fca72ab67acfbf8ee2e6be 

[RuntimeException] Failed to clone 
https://github.com/crazycodr/data-transform.git via git, https and 
http protocols, aborting. 

- https://github.com/crazycodr/data-transform.git 
    fatal: https://github.com/crazycodr/data-transform.git/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server? 
+0

할 수 있습니다'wget을 https : //로 github.com/any/github/zipfile-download'을 해당 프록시 설정과 함께 사용 하시겠습니까? 수동으로'git clone' repos를 사용할 수 있습니까? 나는 정의 된 HTTPS_PROXY가 있어야한다고 생각한다. – Sven

+0

나는 내일 아침에 그 제안을 주셔서 감사합니다 –

답변

1

를 볼에 내가 함께하고 --prefer 소스없이 시도, 모든 패키지를 수행, 출력의 방화벽 뒤에서 GitHub 레포를 복제/당겨/푸시하십시오.
그리고 당신은 http_proxy의 추가 https_proxy을해야합니까 :

set http_proxy=http://<login_internet>:<password_internet>@aproxy:aport 
set https_proxy=http://<login_internet>:<password_internet>@aproxy:aport 
set no_proxy=.company 

합니다 (no_proxy 부분은 회사 내부 내부 URL에 대한 프록시를 사용하지 않는 것이있다)

+0

다른 팁 http://stackoverflow.com/a/7073618/6309 – VonC

+0

그게 완벽하게 그랬어 –

+1

'no_proxy'는 매우 최근의 작곡가의 사본. 환경 변수 중 일부를 평가하기위한 요청이 2013-08-11에 병합되었습니다. 이전 버전에서는이를 평가하지 않고 로컬 리소스에 프록시를 사용하려고했습니다. – Sven

관련 문제