1장. Directory Server 리포지토리 활성화
Directory Server 패키지를 설치하기 전에 Directory Server 리포지토리를 활성화해야 합니다. 서브스크립션 유형에 따라 다음 Directory Server 리포지토리를 활성화할 수 있습니다.
- 기본 디렉터리 서버 리포지토리
- EUS (Extended Update Support) 리포지토리
다음 절차에 따라 기본 및 EUS 리포지토리를 활성화합니다.
사전 요구 사항
- 시스템을 Red Hat 서브스크립션 관리 서비스에 등록했습니다.
- Red Hat 계정에 유효한 Red Hat Directory Server 서브스크립션이 있어야 합니다.
절차
선택 사항: RHEL 기본 BaseOS 및 AppStream 리포지토리를 활성화하지 않은 경우 다음 리포지토리를 활성화해야 합니다.
기본 RHEL 리포지토리를 활성화하려면 다음을 실행합니다.
# subscription-manager repos \ --enable=rhel-9-for-x86_64-appstream-rpms \ --enable=rhel-9-for-x86_64-baseos-rpms Repository 'rhel-9-for-x86_64-appstream-rpms' is enabled for this system. Repository 'rhel-9-for-x86_64-baseos-rpms' is enabled for this system.RHEL EUS 리포지토리를 활성화하려면 다음을 수행합니다.
선택 사항: RHEL EUS 릴리스가 마이너 버전으로 설정되지 않은 경우 다음을 실행합니다.
# subscription-manager release --set=9.6RHEL EUS 리포지토리를 활성화합니다.
# subscription-manager repos \ --enable=rhel-9-for-x86_64-appstream-eus-rpms \ --enable=rhel-9-for-x86_64-baseos-eus-rpms Repository 'rhel-9-for-x86_64-appstream-eus-rpms' is enabled for this system. Repository 'rhel-9-for-x86_64-baseos-eus-rpms' is enabled for this system.
Directory Server 리포지토리를 활성화합니다.
기본 Directory Server 리포지토리를 활성화하려면 다음을 실행합니다.
# subscription-manager repos --enable=dirsrv-12-for-rhel-9-x86_64-rpms Repository 'dirsrv-12-for-rhel-9-x86_64-rpms' is enabled for this system.에 대해 Directory Server EUS 리포지토리를 활성화하려면 다음을 실행합니다.
# subscription-manager repos --enable=dirsrv-12-for-rhel-9-x86_64-eus-rpms Repository 'dirsrv-12-for-rhel-9-x86_64-eus-rpms' is enabled for this system.- 중요
- Directory Server EUS 리포지토리를 활성화할 때 RHEL EUS 리포지토리도 활성화되었는지 확인합니다.
검증
활성화된 기본 Directory Server 리포지토리를 나열합니다.
# subscription-manager repos --list-enabled다음은 리포지토리 유형에 따라 명령의 출력입니다.
Directory Server 12.6의 경우 명령은 다음을 표시합니다.
+----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: rhel-9-for-x86_64-appstream-rpms Repo Name: Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel9/9/x86_64/appstream/os Enabled: 1 Repo ID: rhel-9-for-x86_64-baseos-rpms Repo Name: Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os Enabled: 1 Repo ID: dirsrv-12-for-rhel-9-x86_64-rpms Repo Name: Red Hat Directory Server 12 for RHEL 9 x86_64 (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel9/9/x86_64/dirsrv/12/os Enabled: 1Directory Server 12.6 EUS의 경우 명령은 다음을 표시합니다.
+----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: rhel-9-for-x86_64-appstream-eus-rpms Repo Name: Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel9/9.6/x86_64/appstream/os Enabled: 1 Repo ID: rhel-9-for-x86_64-baseos-eus-rpms Repo Name: Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel9/9.6/x86_64/baseos/os Enabled: 1 Repo ID: dirsrv-12-for-rhel-9-x86_64-eus-rpms Repo Name: Red Hat Directory Server 12 for RHEL 9 x86_64 (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel9/9.6/x86_64/dirsrv/12/os Enabled: 1