Este conteúdo não está disponível no idioma selecionado.

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.
    • 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
      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.
  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.
    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.
      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

    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
    • 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
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2026 Red Hat
Voltar ao topo