728x90
반응형
SMALL
명령어
- sudo apt-get update: 이 명령어는 시스템의 패키지 정보를 업데이트합니다.
- sudo apt-get install ruby-full: 이 명령어는 Ruby를 설치합니다. CodeDeploy는 Ruby를 사용하기 때문에 이 명령어는 필수입니다.
- sudo apt-get install wget: 이 명령어는 wget을 설치합니다. CodeDeploy의 설치 스크립트를 다운로드하기 위해 필요합니다.
- wget https://aws-codedeploy-<region>.s3.<region>.amazonaws.com/latest/install: 이 명령어는 CodeDeploy의 설치 스크립트를 다운로드합니다. <region>은 원하는 AWS 지역에 대한 값으로 대체해야 합니다.
안될 경우
sudo wget https://aws-codedeploy-ap-northeast-2.s3.ap-northeast-2.amazonaws.com/latest/install - chmod +x ./install: 이 명령어는 설치 스크립트에 실행 권한을 부여합니다.
sudo chmod +x ./install - sudo ./install auto: 이 명령어는 CodeDeploy를 설치합니다. 이때, sudo 권한이 필요하며 설치 스크립트에서 자동으로 필요한 구성을 수행합니다.
- sudo service codedeploy-agent status: 이 명령어는 CodeDeploy 에이전트가 실행 중인지 확인합니다. 실행 중이라면, 설치가 올바르게 완료된 것입니다.
이러한 명령어를 실행하면 Ubuntu에서 CodeDeploy를 설치하고 구성할 수 있습니다.
728x90
반응형
LIST
'개발 > sw' 카테고리의 다른 글
script at specified location: scripts/start.sh run as user ubuntu failed with exit code 1 (0) | 2023.04.05 |
---|---|
aws 멘탈 터지는 계정 정지 (0) | 2023.04.04 |
Redis 설치부터 서버 변경 저장 까지! (0) | 2023.04.03 |
AWS Application Load Balancer의 health check path 404 (0) | 2023.04.01 |
AWS 로드밸런서 HTTP → HTTPS 리다이렉션 (0) | 2023.03.31 |