안녕하세요, AWS ElasticBeanstalk php 7.0 환경에서 goofys를 사용하고 싶습니다.
.ebextentions/00_install_goofy.config를 만듭니다. 냠에 의해 golang 버전이 오래 때문에명령으로 내보낼 PATH 경로가 왜? .ebextensions config
(바이너리에서 golang를 설치합니다.
packages:
yum:
fuse: []
commands:
100_install_golang_01:
command: wget https\://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz
100_install_golang_02:
command: tar -C /usr/local -xzf go1.9.linux-amd64.tar.gz
100_install_golang_03:
command: export GOROOT=/usr/local/go
test: [ -z "$GOROOT" ]
100_install_golang_04:
command: export GOPATH=/home/ec2-user/go
test: [ -z "$GOPATH" ]
100_install_golang_05:
command: export PATH=$PATH\:$GOROOT/bin\:$GOPATH/bin
100_install_golang_06:
command: echo $GOPATH > gopath
그러나 100_install_golang_03가 잘 작동하지를 ...
Test for Command 100_install_golang_03
[2017-09-09T14:39:52.422Z] INFO [3034] - [Application deployment [email protected]/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_1_yubion_website] : Completed activity.
[2017-09-09T14:39:52.422Z] INFO [3034] - [Application deployment [email protected]/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Activity execution failed, because: [Errno 2] No such file or directory (ElasticBeanstalk::ExternalInvocationError)
내가 수출 ENV과 경로를 기울인다. 수 나는 PATH 설정 on .ebextensions?
또는 ElasticBeanstalk에 goofys를 자동으로 설치하는 더 좋은 방법이 있습니까?
왜 대신 각 인스턴스에서 명령을 실행 중, EB 설정 파일에 의해 ENV 변수를 정의하지? – eqperes
의견을 주셔서 감사합니다. 응용 프로그램을 설치하기 전에 S3 버킷을 설치하고 마운트하고 싶습니다. – hani