Chapter 3. Setting up Red Hat Directory Server on Red Hat Enterprise Linux24This chapter describes the complete procedure to install Red Hat Directory Server on Red HatEnterprise Linux 5 (32-bit), including both OpenJDK and Directory Server packages, and the differentsetup options.3.1. Installing OpenJDKNecessary Java libraries are not bundled with Directory Server. They must be downloaded andextracted separately before installing the Directory Server packages.Directory Server 8.1 requires Sun JDK 1.6.0 or OpenJDK 1.6.0.IMPORTANTWhen the new JDK is installed for Directory Server 8.1, it is no longer possible to manageolder instances of Directory Server using the Directory Server Console because therequired JDKs for the different Directory Server versions are different. You must migrateany older instance to Directory Server 8.1 if you need to manage that instance with theDirectory Server Console.To install OpenJDK:yum install java-1.6.0-openjdkOpenJDK 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 isavailable:/usr/sbin/alternatives --config javaThere are 3 programs which provide 'java'.Selection Command-----------------------------------------------1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java2 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java*+ 3 /usr/lib/jvm/jre-1.6.0-sun.x86_64/bin/javaAfter installing the JDK, install the Directory Server packages, as described in Section 3.2, “Installingthe Directory Server Packages”.3.2. Installing the Directory Server Packages1. Install the Directory Server packages. There are two options for installing the packages: usingnative 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