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
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.To enable the RHEL EUS repositories:
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.6Enable 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.
Enable the Directory Server repository:
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.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.- 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-enabledThe 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: 1For 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