CentOS DS Installation

My brief experience with the 389 Directory convinced me that its stable, enterprise-ready, counterpart, Red Hat Directory Server 8.1, was worth a look.

Fortunately, the CentOS team has created its own build from the upstream source, rebranded as the CentOS Directory Server.

Here’s the package list from a yum install centos-ds:

================================================================================
 Package                  Arch      Version                    Repository  Size
================================================================================
Installing:
 centos-ds                i386      8.1.0-1.el5.centos.2       extras     3.4 k
Installing for dependencies:
 adminutil                i386      1.1.8-2.el5.centos.0       extras      68 k
 centos-admin-console     noarch    8.1.0-2.el5.centos.2       extras     222 k
 centos-ds-admin          i386      8.1.0-9.el5.centos.1       extras     364 k
 centos-ds-base           i386      8.1.0-0.14.el5.centos.2    extras     1.7 M
 centos-ds-console        noarch    8.1.0-5.el5.centos.2       extras     1.4 M
 centos-idm-console       i386      1.0.1-1.el5.centos.2       extras      74 k
 cyrus-sasl-gssapi        i386      2.1.22-4                   base        28 k
 db4-utils                i386      4.3.29-9.fc6               base       119 k
 idm-console-framework    noarch    1.1.3-9.el5.centos.2       extras     1.0 M
 java-1.6.0-openjdk       i386      1:1.6.0.0-1.2.b09.el5      updates     28 M
 jss                      i386      4.2.5-1.el5.centos.1       extras     681 k
 ldapjdk                  i386      4.18-2jpp.3.el5            base       782 k
 mod_nss                  i386      1.0.3-7.el5_3.1            updates     81 k
 mozldap                  i386      6.0.5-1.el5                base       132 k
 mozldap-tools            i386      6.0.5-1.el5                base       139 k
 perl-Mozilla-LDAP        i386      1.5.2-4.el5                base       181 k
 svrcore                  i386      4.0.4-3.el5                base        14 k
	
Transaction Summary
================================================================================
Install     18 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

This is very close to what you see when installing the 389 Directory. Other than slight differences in the setup program names, the process of installing and configuring the CentOS version is identical to that used for the 389 Directory (and, for that matter, the Red Hat Directory). In the case of CenrtOS, there’s a brief HowTo, but this substantially refers you to the Red Hat documentation for further guidance. For my part, I think the 389 Directory wiki pages are a much better reference that either of the former.

The short version is that, with the CentOS extras repository enabled, you use

yum install centos-ds

to install the packages;

and then

/usr/sbin/setup-ds-admin.pl

to configure both the admin and directory servers.

The CentOS Directory Console (identical to the “389console”) is invoked with

centos-idm-console

CentOS Directory Console