Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 1. Enabling Directory Server repositories


Before installing Directory Server packages, you must enable Directory Server repositories. Depending on your subscription type, you can enable the following Directory Server repositories:

  • The default Directory Server repository
  • The Extended Update Support (EUS) repository

Use the following procedure to enable the default and EUS repositories.

Prerequisites

  • You registered the system to the Red Hat Subscription Management service.
  • You have a valid Red Hat Directory Server subscription in your Red Hat account.

Procedure

  1. Optional: If you do not have enabled RHEL default BaseOS and AppStream repositories, you must enable these repositories:

    • To enable the default RHEL repositories, run:

      # subscription-manager repos \
      	--enable=rhel-9-for-x86_64-appstream-rpms \
      	--enable=rhel-9-for-x86_64-baseos-rpms
      Repository 'rhel-9-for-x86_64-appstream-rpms' is enabled for this system.
      Repository 'rhel-9-for-x86_64-baseos-rpms' is enabled for this system.
      Copy to Clipboard Toggle word wrap
    • To enable the RHEL EUS repositories:

      1. Optional: If you do not have the RHEL EUS release set to the minor version, for example to 9.6, run:

        # subscription-manager release --set=9.6
        Copy to Clipboard Toggle word wrap
      2. Enable the RHEL EUS repositories:

        # subscription-manager repos \
        	--enable=rhel-9-for-x86_64-appstream-eus-rpms \
        	--enable=rhel-9-for-x86_64-baseos-eus-rpms
        Repository 'rhel-9-for-x86_64-appstream-eus-rpms' is enabled for this system.
        Repository 'rhel-9-for-x86_64-baseos-eus-rpms' is enabled for this system.
        Copy to Clipboard Toggle word wrap
  2. Enable the Directory Server repository:

    1. To enable the default Directory Server repository, run:

      # 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.
      Copy to Clipboard Toggle word wrap
    2. To enable the Directory Server EUS repository for the, run:

      # subscription-manager repos --enable=dirsrv-12-for-rhel-9-x86_64-eus-rpms
      Repository 'dirsrv-12-for-rhel-9-x86_64-eus-rpms' is enabled for this system.
      Copy to Clipboard Toggle word wrap
      Important
      When you enable the Directory Server EUS repository, make sure that you also enabled RHEL EUS repositories.

Verification

  • List enabled default Directory Server repositories:

    # subscription-manager repos --list-enabled
    Copy to Clipboard Toggle word wrap

    The following is the output of the command depending of the repository type:

    • For Directory Server 12.6, the command displays:

      +----------------------------------------------------------+
          Available Repositories in /etc/yum.repos.d/redhat.repo
      +----------------------------------------------------------+
      Repo ID:   rhel-9-for-x86_64-appstream-rpms
      Repo Name: Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9/x86_64/appstream/os
      Enabled:   1
      
      Repo ID:   rhel-9-for-x86_64-baseos-rpms
      Repo Name: Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os
      Enabled:   1
      
      Repo ID:   dirsrv-12-for-rhel-9-x86_64-rpms
      Repo Name: Red Hat Directory Server 12 for RHEL 9 x86_64 (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9/x86_64/dirsrv/12/os
      Enabled:   1
      Copy to Clipboard Toggle word wrap
    • For Directory Server 12.6 EUS, the command displays:

      +----------------------------------------------------------+
          Available Repositories in /etc/yum.repos.d/redhat.repo
      +----------------------------------------------------------+
      Repo ID:   rhel-9-for-x86_64-appstream-eus-rpms
      Repo Name: Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9.6/x86_64/appstream/os
      Enabled:   1
      
      Repo ID:   rhel-9-for-x86_64-baseos-eus-rpms
      Repo Name: Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9.6/x86_64/baseos/os
      Enabled:   1
      
      Repo ID:   dirsrv-12-for-rhel-9-x86_64-eus-rpms
      Repo Name: Red Hat Directory Server 12 for RHEL 9 x86_64 (RPMs)
      Repo URL:  https://cdn.redhat.com/content/dist/rhel9/9.6/x86_64/dirsrv/12/os
      Enabled:   1
      Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat