第1章 Directory Server パッケージのインストール

本章では、Red Hat Directory Server パッケージをインストールする方法を説明します。

前提条件

  • Red Hat Enterprise Linux (RHEL) がサーバーにインストールされている。

    インストールする Red Hat Directory Server バージョンに必要な RHEL バージョンの詳細は、Red Hat Directory Server 11 リリースノート を参照してください。

  • システムの Directory Server が Red Hat サブスクリプション管理サービスに登録されている。

    Subscription Manager の使用に関する詳細は、Configuring Subscription Manager の使用および設定 の該当するセクションを参照してください。

  • Red Hat Directory Server の有効なサブスクリプションは、お使いの Red Hat アカウントで利用できます。
  • RHEL のデフォルトのリポジトリー BaseOS および AppStream が有効になっている。

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

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

手順

  1. Red Hat アカウントで利用可能なサブスクリプションをリスト表示し、Red Hat Directory Server を提供するプール 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-11-for-rhel-8-x86_64-rpms リポジトリーを有効にします。

    # subscription-manager repos --enable=dirsrv-11-for-rhel-8-x86_64-rpms
    Repository 'dirsrv-11-for-rhel-8-x86_64-rpms' is enabled for this system.
  4. redhat-ds:11 モジュールをインストールします。

    # yum module install redhat-ds:11

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

関連情報