Chapter 3. Setting up Red Hat Directory Server on Red Hat Enterprise Linux
24
This chapter describes the complete procedure to install Red Hat Directory Server on Red Hat
Enterprise Linux 5 (32-bit), including both OpenJDK and Directory Server packages, and the different
setup options.
3.1. Installing OpenJDK
Necessary Java libraries are not bundled with Directory Server. They must be downloaded and
extracted separately before installing the Directory Server packages.
Directory Server 8.1 requires Sun JDK 1.6.0 or OpenJDK 1.6.0.
IMPORTANT
When the new JDK is installed for Directory Server 8.1, it is no longer possible to manage
older instances of Directory Server using the Directory Server Console because the
required JDKs for the different Directory Server versions are different. You must migrate
any older instance to Directory Server 8.1 if you need to manage that instance with the
Directory Server Console.
To install OpenJDK:
yum install java-1.6.0-openjdk
OpenJDK is also available from
http://openjdk.java.net/install/
.
After installing the JDK, run
/usr/sbin/alternatives
as
root
to insure that the proper JDK is
available:
/usr/sbin/alternatives --config java
There are 3 programs which provide 'java'.
Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
2 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
*+ 3 /usr/lib/jvm/jre-1.6.0-sun.x86_64/bin/java
After installing the JDK, install the Directory Server packages, as described in
Section 3.2, “Installing
the Directory Server Packages”
.
3.2. Installing the Directory Server Packages
1. Install the Directory Server packages. There are two options for installing the packages: using
native Red Hat Enterprise Linux 5 (32-bit) tools (
yum
) or downloading them from Red Hat Network.
The recommended way is to use the Red Hat Enterprise Linux 5 (32-bit) tools.
yum install redhat-ds