쿠키 기본 설정 선택

당사는 사이트와 서비스를 제공하는 데 필요한 필수 쿠키 및 유사한 도구를 사용합니다. 고객이 사이트를 어떻게 사용하는지 파악하고 개선할 수 있도록 성능 쿠키를 사용해 익명의 통계를 수집합니다. 필수 쿠키는 비활성화할 수 없지만 '사용자 지정' 또는 ‘거부’를 클릭하여 성능 쿠키를 거부할 수 있습니다.

사용자가 동의하는 경우 AWS와 승인된 제3자도 쿠키를 사용하여 유용한 사이트 기능을 제공하고, 사용자의 기본 설정을 기억하고, 관련 광고를 비롯한 관련 콘텐츠를 표시합니다. 필수가 아닌 모든 쿠키를 수락하거나 거부하려면 ‘수락’ 또는 ‘거부’를 클릭하세요. 더 자세한 내용을 선택하려면 ‘사용자 정의’를 클릭하세요.

1단계: 스크립트 실행을 위한 환경 준비 - AWS OpsWorks

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

1단계: 스크립트 실행을 위한 환경 준비

운영 체제에 적합한 명령을 실행하여 환경을 준비합니다.

Amazon Linux 2

sudo su python3 -m pip install pipenv PATH="$PATH:/usr/local/bin" yum update yum install git

Amazon Linux

sudo su PATH="$PATH:/usr/local/bin" export LC_ALL=en_US.utf-8 export LANG=en_US.utf-8 yum update yum list | grep python3 yum install python36 // Any python version yum install git

Python 버전 3.6의 경우 다음 명령도 실행하세요.

python3 -m pip install pipenv==2022.4.8

Python 버전 3.7 이상에서는 다음 명령도 실행합니다.

python3 -m pip install pipenv

Ubuntu 18.04, 20.04, 22.04

sudo su export PATH="${HOME}/.local/bin:$PATH" apt-get update apt install python3-pip apt-get install git // if git is not installed python3 -m pip install --user pipenv==2022.4.8

Red Hat Enterprise Linux 8

sudo su sudo dnf install python3 PATH="$PATH:/usr/local/bin" yum update yum install git python3 -m pip install pipenv==2022.4.8

Windows Server 2019, Windows 10 Enterprise

참고

Windows Server 2019의 경우 Python 버전 3.6.1 이상을 설치합니다.

pip install pipenv

아직 설치되지 않은 경우 Git를 다운로드하여 설치합니다.

Git을 쿡북 소스로 사용하는 경우 Windows에서 스크립트를 실행하기 전에 Git 서버를 known_hosts 파일에 추가하세요. PowerShell을 사용하여 다음과 같은 함수를 생성할 수 있습니다.

function add_to_known_hosts($server){ $new_host=$(ssh-keyscan $server 2> $null) $existing_hosts='' if (!(test-path "$env:userprofile\.ssh")) { md "$env:userprofile\.ssh" } if ((test-path "$env:userprofile\.ssh\known_hosts")) { $existing_hosts=Get-Content "$env:userprofile\.ssh\known_hosts" } $host_added=0 foreach ($line in $new_host) { if (!($existing_hosts -contains $line)) { Add-Content -Path "$env:userprofile\.ssh\known_hosts" -Value $line $host_added=1 } } if ($host_added) { echo "$server has been added to known_hosts." } else { echo "$server already exists in known_hosts." } }

그런 다음 함수를 실행할 때 Git 서버(예: github.com, git-codecommit.repository_region.amazonaws.com)를 제공할 수 있습니다.

add_to_known_hosts "myGitServer"
프라이버시사이트 이용 약관쿠키 기본 설정
© 2025, Amazon Web Services, Inc. 또는 계열사. All rights reserved.