3.2. Directory Server 패키지 설치

다음 절차에 따라 Directory Server 패키지를 설치합니다.

사전 요구 사항

  • 시스템을 Red Hat 서브스크립션 관리 서비스에 등록하셨습니다.
  • Red Hat 계정에 유효한 Red Hat Directory Server 서브스크립션이 있어야 합니다.
  • RHEL 기본 리포지토리( BaseOSAppStream )가 활성화되어 있습니다.

절차

  1. Red Hat Directory Server 서브스크립션을 제공하는 Red Hat 계정의 사용 가능한 서브스크립션을 나열하고 풀 ID를 기록해 둡니다.

    # subscription-manager list --all --available --matches 'Red Hat Directory Server'
    ...
    Subscription Name:   Example Subscription
    Provides:            ...
                         Red Hat Directory Server
                         ...
    Pool ID:             5ab6a8df96b03fd30aba9a9c58da57a1
    Available:           1
    ...
  2. 풀 ID를 사용하여 Red Hat Directory Server 서브스크립션을 시스템에 연결합니다.

    # subscription-manager attach --pool=5ab6a8df96b03fd30aba9a9c58da57a1
    Successfully attached a subscription for: Example Subscription
  3. dirsrv-12-for-rhel-9-x86_64-rpms 리포지토리를 활성화합니다.

    # 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.
  4. redhat-ds:12 모듈을 설치합니다.

    # dnf module install redhat-ds:12

    이 명령은 필요한 모든 종속 항목을 자동으로 설치합니다.