How to Install 389 Directory Server on CentOS/RHEL

In this short guide I will show you on how to install 389 directory server on CentOS server.

This guide assume that your CentOS server has been completely installed with minimum packages and the hostname and FQDN also has been configured correctly. According to CentOS Wiki, As of May 2009, the CentOS Directory server is officially released and is available from the Extras Repository for CentOS-5.

Please follow below yum command to install the 389 directory and it’s dependencies. The number of dependencies might be different from you as this depend on your installed packages on your server.

[root@server ~]# yum install centos-ds
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.averse.net
 * base: mirror.averse.net
 * extras: mirror.averse.net
 * updates: mirror.averse.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package centos-ds.i386 0:8.1.0-1.el5.centos.2 set to be updated
--> Processing Dependency: centos-admin-console for package: centos-ds
--> Processing Dependency: centos-ds-base for package: centos-ds
--> Processing Dependency: centos-ds-console for package: centos-ds
--> Processing Dependency: centos-ds-admin for package: centos-ds
--> Processing Dependency: centos-idm-console for package: centos-ds
--> Processing Dependency: idm-console-framework for package: centos-ds
--> Running transaction check
---> Package centos-admin-console.noarch 0:8.1.0-2.el5.centos.2 set to be updated
---> Package centos-ds-admin.i386 0:8.1.0-9.el5.centos.1 set to be updated
--> Processing Dependency: libadminutil.so.1 for package: centos-ds-admin
--> Processing Dependency: libadmsslutil.so.1 for package: centos-ds-admin
---> Package centos-ds-base.i386 0:8.1.0-0.14.el5.centos.2 set to be updated
---> Package centos-ds-console.noarch 0:8.1.0-5.el5.centos.2 set to be updated
---> Package centos-idm-console.i386 0:1.0.1-1.el5.centos.2 set to be updated
---> Package idm-console-framework.noarch 0:1.1.3-9.el5.centos.2 set to be updated
--> Processing Dependency: ldapjdk for package: idm-console-framework
--> Running transaction check
---> Package adminutil.i386 0:1.1.8-2.el5.centos.0 set to be updated
---> Package ldapjdk.i386 0:4.18-2jpp.3.el5 set to be updated
--> Processing Dependency: java-gcj-compat for package: ldapjdk
--> Processing Dependency: libgcj_bc.so.1 for package: ldapjdk
--> Running transaction check
---> Package java-1.4.2-gcj-compat.i386 0:1.4.2.0-40jpp.115 set to be updated
--> Processing Dependency: gjdoc for package: java-1.4.2-gcj-compat
---> Package libgcj.i386 0:4.1.2-48.el5 set to be updated
--> Processing Dependency: gtk2 >= 2.4.0 for package: libgcj
--> Processing Dependency: libgdk-x11-2.0.so.0 for package: libgcj
--> Processing Dependency: libgtk-x11-2.0.so.0 for package: libgcj
--> Processing Dependency: libgdk_pixbuf-2.0.so.0 for package: libgcj
--> Running transaction check
---> Package gjdoc.i386 0:0.7.7-12.el5 set to be updated
--> Processing Dependency: antlr for package: gjdoc
---> Package gtk2.i386 0:2.10.4-21.el5_5.6 set to be updated
--> Running transaction check
---> Package antlr.i386 0:2.7.6-4jpp.2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================
 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
 antlr                     i386       2.7.6-4jpp.2                base        978 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
 gjdoc                     i386       0.7.7-12.el5                base        793 k
 gtk2                      i386       2.10.4-21.el5_5.6           updates     6.5 M
 idm-console-framework     noarch     1.1.3-9.el5.centos.2        extras      1.0 M
 java-1.4.2-gcj-compat     i386       1.4.2.0-40jpp.115           base         29 k
 ldapjdk                   i386       4.18-2jpp.3.el5             base        782 k
 libgcj                    i386       4.1.2-48.el5                base         16 M

Transaction Summary
====================================================================================
Install      14 Package(s)
Upgrade       0 Package(s)

Total download size: 30 M
Is this ok [y/N]: y
Downloading Packages:
(1/14): centos-ds-8.1.0-1.el5.centos.2.i386.rpm              | 3.4 kB     00:00
(2/14): java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.i386.rpm     |  29 kB     00:00
(3/14): adminutil-1.1.8-2.el5.centos.0.i386.rpm              |  68 kB     00:01
(4/14): centos-idm-console-1.0.1-1.el5.centos.2.i386.rpm     |  74 kB     00:01
(5/14): centos-admin-console-8.1.0-2.el5.centos.2.noarch.rpm | 222 kB     00:04
(6/14): centos-ds-admin-8.1.0-9.el5.centos.1.i386.rpm        | 364 kB     00:06
(7/14): ldapjdk-4.18-2jpp.3.el5.i386.rpm                     | 782 kB     00:20
(8/14): gjdoc-0.7.7-12.el5.i386.rpm                          | 793 kB     00:22
(9/14): antlr-2.7.6-4jpp.2.i386.rpm                          | 978 kB     00:32
(10/14): idm-console-framework-1.1.3-9.el5.centos.2.noarch.r | 1.0 MB     00:26
(11/14): centos-ds-console-8.1.0-5.el5.centos.2.noarch.rpm   | 1.4 MB     00:31
(12/14): centos-ds-base-8.1.0-0.14.el5.centos.2.i386.rpm     | 1.7 MB     00:42
(13/14): gtk2-2.10.4-21.el5_5.6.i386.rpm                     | 6.5 MB     02:17
(14/14): libgcj-4.1.2-48.el5.i386.rpm                        |  16 MB     06:05
------------------------------------------------------------------------------------
Total                                                45 kB/s |  30 MB     11:33
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : centos-ds-base                                              1/14
  Installing     : gtk2                                                        2/14
  Installing     : libgcj                                                      3/14
  Installing     : adminutil                                                   4/14
  Installing     : centos-ds-admin                                             5/14
  Installing     : centos-admin-console                                        6/14
  Installing     : centos-ds-console                                           7/14
  Installing     : java-1.4.2-gcj-compat                                       8/14
  Installing     : antlr                                                       9/14
  Installing     : ldapjdk                                                    10/14
  Installing     : gjdoc                                                      11/14
  Installing     : idm-console-framework                                      12/14
  Installing     : centos-idm-console                                         13/14
  Installing     : centos-ds                                                  14/14

Installed:
  centos-ds.i386 0:8.1.0-1.el5.centos.2

Dependency Installed:
  adminutil.i386 0:1.1.8-2.el5.centos.0
  antlr.i386 0:2.7.6-4jpp.2
  centos-admin-console.noarch 0:8.1.0-2.el5.centos.2
  centos-ds-admin.i386 0:8.1.0-9.el5.centos.1
  centos-ds-base.i386 0:8.1.0-0.14.el5.centos.2
  centos-ds-console.noarch 0:8.1.0-5.el5.centos.2
  centos-idm-console.i386 0:1.0.1-1.el5.centos.2
  gjdoc.i386 0:0.7.7-12.el5
  gtk2.i386 0:2.10.4-21.el5_5.6
  idm-console-framework.noarch 0:1.1.3-9.el5.centos.2
  java-1.4.2-gcj-compat.i386 0:1.4.2.0-40jpp.115
  ldapjdk.i386 0:4.18-2jpp.3.el5
  libgcj.i386 0:4.1.2-48.el5

Complete!
[root@server ~]#

Comments

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *