Chapter 1. Installing the Directory Server packages

This chapter contains information about installing the Red Hat Directory Server packages.

Prerequisites

  • Red Hat Enterprise Linux (RHEL) is installed on the server.

    For details about the RHEL version required by the Red Hat Directory Server version you want to install, see the Red Hat Directory Server 11 Release Notes.

  • The system Directory Server is registered to the Red Hat subscription management service.

    For details about using Subscription Manager,see the corresponding section in the Using and Configuring Subscription Manager guide.

  • A valid Red Hat Directory Server subscription is available in your Red Hat account.

1.1. Installing the Directory Server packages

Use the following procedure to install the Directory Server packages.

Procedure

  1. List the available subscriptions in your Red Hat account and identify the pool ID that provides Red Hat Directory Server. For example:

    # 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. Attach the Red Hat Directory Server subscription to the system using the pool ID from the previous step:

    # subscription-manager attach --pool=5ab6a8df96b03fd30aba9a9c58da57a1
    Successfully attached a subscription for: Example Subscription
  3. Enable the dirsrv-11-for-rhel-8-x86_64-rpms repository:

    # 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. Install the redhat-ds:11 module:

    # yum module install redhat-ds:11

    This command automatically installs all required dependencies.

Additional resources