Installation guide
3.1.1. Installing Using yum
The simplest method to install the packages is using the native tools (yum ) on Red Hat Enterprise Linux.
1. A system has to be registered to Red Hat (or to an on-premise application such as Subscription
Asset Manager) to be able to download content. Additionally, the appropriate subscriptions must
be attached to the system.
This is done using the subscription-manager client tools.
a. Register the system. Use the --auto-attach option to apply subscriptions for the
operating system automatically. T he Red Hat Directory Server subscriptions are children of
the Red Hat Enterprise Linux subscriptions, so if the Red Hat Enterprise Linux subscriptions
are attached and Red Hat Directory Server is included in the account, then Red Hat
Directory Server is covered.
[root@server ~]# subscription-m anager register --auto-attach
Username: admin@example.com
Password:
The system has been registered with id: 9cd02c51-2b91-4b57-85d7-
7d2fefaa0c58
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status: Subscribed
b. Enable the Directory Server repository. T his repository is available with the active
subscription, but it is not enabled by default.
This is done using the subscription-manager command. T he repository name is
rhel-server-6-rhds-9-rpm s.
[root@server ~]# subscription-m anager repos --enable rhel-server-6-
rhds-9-rpms
Repo rhel-server-6-rhds-9-rpms is enabled for this system .
2. Run the yum command. T his installs all of the Directory Server packages, Directory Server
Console packages, and dependencies.
[root@server ~]# yum install redhat-ds
NOTE
yum may install or require additional packages if dependencies are missing or out-of-date.
3. Verify that subscription status for Directory Server, with the validity period of the subscription:
Chapter 3. Setting up Red Hat D irectory Server on Red Hat Enterprise Linux
29