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 Directory Server 12 and Directory Server 12 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: 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.4, run: Enable the RHEL EUS repositories: Enable the Directory Server repository: To enable the default Directory Server repository, run: To enable the Directory Server EUS repository for the, run: 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: The following is the output of the command for Directory Server 12.5 and Directory Server 12.4 EUS releases: For Directory Server 12.5, the command displays: For Directory Server EUS 12.4, the command displays: steps Setting up an instance using the command line Setting up a new instance using the web console Additional resources Using Red Hat Subscription Manager RHDS - Which subscription is required? (Red Hat Knowledgebase) RHEL EUS Overview How to tie a system to a specific update of Red Hat Enterprise Linux? (Red Hat Knowledgebase)

Commands:
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.
subscription-manager release --set=9.4
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.
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.
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.
subscription-manager repos --list-enabled
+----------------------------------------------------------+ 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
+----------------------------------------------------------+ 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.4/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.4/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.4/x86_64/dirsrv/12/os Enabled: 1