7장. Red Hat Ansible Automation Platform 설치 프로그램 선택 및 가져오기
Red Hat Enterprise Linux 환경 인터넷 연결을 기반으로 필요한 Red Hat Ansible Automation Platform 설치 프로그램을 선택합니다. 다음 시나리오를 검토하여 요구 사항에 맞는 Red Hat Ansible Automation Platform 설치 프로그램을 결정합니다.
7.1. 인터넷 액세스로 설치 링크 복사링크가 클립보드에 복사되었습니다!
Red Hat Enterprise Linux 환경이 인터넷에 연결된 경우 Red Hat Ansible Automation Platform 설치 프로그램을 선택합니다. 인터넷 액세스를 사용하여 설치하면 최신 필수 리포지토리, 패키지 및 종속 항목을 검색합니다. 다음 방법 중 하나를 선택하여 Ansible Automation Platform 설치 프로그램을 설정합니다.
Tarball 설치
프로세스
- Red Hat Ansible Automation Platform 다운로드 페이지로 이동합니다.
- Ansible Automation Platform <latest-version> 설정에 대해 클릭합니다.
scp또는curl을 사용하여 파일을 대상 서버로 전송합니다.scp사용:-
private_key.pem,user,server_ip를 적절한 값으로 교체하여 다음 명령을 실행합니다.
-
$ scp -i private_key.pem aap-bundled-installer.tar.gz user@server_ip:
curl사용 :-
설정 파일 URL을 사용할 수 있는 경우
curl을 사용하여 대상 서버로 직접 다운로드할 수 있습니다. <download_url>을 파일 URL로 바꿉니다.
-
설정 파일 URL을 사용할 수 있는 경우
$ curl -0 <download_url>
다운로드 후 파일을 추출해야 하는 경우 다음 명령을 실행합니다.
$ tar xvzf aap-bundled-installer.tar.gz
RPM 설치
Ansible Automation Platform RPM 설치 프로그램은 2.5에서 더 이상 사용되지 않으며 Ansible Automation Platform 2.7에서 제거됩니다. RPM 설치 프로그램은 Ansible Automation Platform 2.6의 라이프사이클 동안 기존 지원 토폴로지로의 마이그레이션을 지원하기 위해 RHEL 9에서 지원됩니다. 업그레이드 및 마이그레이션 경로에 대한 자세한 내용은 업그레이드 시나리오에 대한 지원 매트릭스 를 참조하십시오.
프로세스
Ansible Automation Platform 설치 프로그램 패키지를 설치합니다.
V.2.5 for RHEL 8 for x86_64
$ sudo dnf install --enablerepo=ansible-automation-platform-2.5-for-rhel-8-x86_64-rpms ansible-automation-platform-installerV.2.5 for RHEL 9 for x86_64
$ sudo dnf install --enablerepo=ansible-automation-platform-2.5-for-rhel-9-x86_64-rpms ansible-automation-platform-installer
dnf install 은 리포지토리가 기본적으로 비활성화되어 있으므로 리포지토리를 활성화합니다.
RPM 설치 프로그램을 사용하면 파일이 /opt/ansible-automation-platform/installer 디렉터리에 배치됩니다.