1.2. Directory Server パッケージのインストール

以下の手順に従って、Directory Server パッケージをインストールします。

前提条件

  • システムを Red Hat サブスクリプション管理サービスに登録する。
  • Red Hat アカウントに有効な Red Hat Directory Server サブスクリプションがある。
  • RHEL のデフォルトのリポジトリー BaseOS および AppStream が有効になっている。

手順

  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

    このコマンドにより、必要な依存関係がすべて自動的にインストールされます。