Red Hat Training

A Red Hat training course is available for Red Hat Directory Server

3.2. Installing the Directory Server Packages

To install the Directory Server packages:
  1. Attach the Red Hat subscriptions to the system:
    Skip this step, if your system is already registered or has a Directory Server subscription attached.
    1. Register the system to Red Hat subscription management service:
      # subscription-manager register --auto-attach
      The system has been registered with id: b4c55e3c-ef67-43c6-921e-aa0eab692823
      Installed Product Current Status:
      Product Name:           Red Hat Enterprise Linux Server
      Status:                 Subscribed
      Use the --auto-attach option to automatically apply a subscription for the operating system.
    2. List the available subscriptions and note the pool ID providing the Red Hat Directory Server. For example:
      # subscription-manager list --available --all --matches 'Red Hat Directory Server'
      Subscription Name:   Example Subscription
      Provides:            ...
                           Red Hat Directory Server
      Pool ID:             5ab6a8df96b03fd30aba9a9c58da57a1
      Available:           1
    3. 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
  2. Enable the Directory Server repository:
    # subscription-manager repos --enable=rhel-7-server-rhds-10-rpms
    Repository 'rhel-7-server-rhds-10-rpms' is enabled for this system.
  3. Install the redhat-ds package:
    # yum install redhat-ds
    The following dependencies are automatically installed:
    • redhat-ds-admin: Directory Server Administration Server
    • redhat-ds-console: Directory Server Console
After you installed the packages, run the script to create a Directory Server instance. For a list of setup modes, see Section 3.1, “The Directory Server Setup Modes”.