728x90
반응형
SMALL

명령어

  1. sudo apt-get update: 이 명령어는 시스템의 패키지 정보를 업데이트합니다.
  2. sudo apt-get install ruby-full: 이 명령어는 Ruby를 설치합니다. CodeDeploy는 Ruby를 사용하기 때문에 이 명령어는 필수입니다.
  3. sudo apt-get install wget: 이 명령어는 wget을 설치합니다. CodeDeploy의 설치 스크립트를 다운로드하기 위해 필요합니다.
  4. 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
  5. chmod +x ./install: 이 명령어는 설치 스크립트에 실행 권한을 부여합니다.
    sudo chmod +x ./install
  6. sudo ./install auto: 이 명령어는 CodeDeploy를 설치합니다. 이때, sudo 권한이 필요하며 설치 스크립트에서 자동으로 필요한 구성을 수행합니다.
  7. sudo service codedeploy-agent status: 이 명령어는 CodeDeploy 에이전트가 실행 중인지 확인합니다. 실행 중이라면, 설치가 올바르게 완료된 것입니다.

이러한 명령어를 실행하면 Ubuntu에서 CodeDeploy를 설치하고 구성할 수 있습니다.

728x90
반응형
LIST

+ Recent posts