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 tools (yum or up2date) or downloading them from Red Hat Network. The recommended way is to use the Red Hat Enterprise Linux tools. On Red Hat Enterprise Linux 4, use up2date:

    up2date redhat-ds
    

    On Red Hat Enterprise Linux 5, use yum:

    yum update redhat-ds
    

    NOTE

    Both yum and up2date may install or require additional packages if dependencies are missing or out-of-date.

    Alternatively, download the latest packages from the Red Hat Directory Server 8.0 channel on Red Hat Network, http://rhn.redhat.com.

    It is also possible to install the Directory Server packages from media:

    1. Download the packages from Red Hat Network, and burn them to CD or DVD.

    2. Insert the media; the system should automatically recognize and mount the disc.

    3. There is no autorun feature with the Directory Server packages, so open the directory on the disc containing the Directory Server packages. For example:

      cd /media/cdrecorder/RedHat/RPMS/
      
    4. Install everything in the directory using rpm:

      ls *.rpm | egrep -iv -e devel -e debuginfo | xargs rpm -ivh
      
  2. After the Directory Server packages are installed, run the setup-ds-admin.pl script to set up and configure the default Directory Server instance and the Administration Server.

    /usr/sbin/setup-ds-admin.pl
    
  3. Accept the licensing agreement.

  4. On the next screen, review the dsktune output. If there are any issues that you should address, exit the setup-ds-admin.pl program, and resolve them. Otherwise, accept the output.

  5. Select the setup type, and proceed with configuring the new Directory Server instance.

NOTE

Directory Server version 8.0 conforms to the Filesystem Hierarchy Standards. This means that the directories and files are in different locations than previous versions. For more information on FHS, see the http://www.pathname.com/fhs/ homepage. For a table showing the new file locations, see Section 7.1, “Directory Server File Locations”.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.