5.2. Installing the Directory Server Packages
There are two ways to install the Directory Server packages. The packages can be downloaded individually through Red Hat Network, or an ISO image can be downloaded and saved to a CD or DVD.
The Directory Server software is packaged in Solaris PKG format and incorporates the Solaris pkgadd command. The latest Directory Server for Solaris packages are available through the Red Hat Directory Server 8.0 Solaris channel.
To install the Directory Server on Solaris, do the following:
Create a temporary installation directory for the downloaded packages, then open that directory.
mkdir /tmp/rhds80 cd /tmp/rhds80
Download the Directory Server packages from Red Hat Network. This can be done through a web browser by logging into Red Hat Network and selecting the Red Hat Directory Server 8.0 channel or it can be done using a tool such as curl or wget with information available on the Red Hat Network channel.
Install and update the Solaris packages using pkgadd.
for pkg in *.pkg ; do
pkgadd -d $pkg all
done
If another application such as Red Hat Certificate System is already installed on the server, pkgadd detects the shared packages. Make sure that the pkgadd program replaces any existing versions with the packages included with Directory Server.
When the pkgadd program completes, move all *.pkg files from the current directory to a backup directory.
Delete the temporary directory.
rm -rf /tmp/rhds80
After the Directory Server packages are installed, run the setup program to set up and configure the default Directory Server instance and the Administration Server.
/usr/sbin/setup-ds-admin.pl
Accept the initial screens for licensing and dsktune output, then select the setup type, and proceed with configuring the new Directory Server instance.
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”.
The Red Hat Network Red Hat Directory Server 8.0 Solaris channel also has an ISO image which contains all of the required packages. Like installing the packages individually, the ISO image uses Sun's pkgadd to manage the installation. To install the Directory Server on Solaris, do the following:
Download the ISO image from Red Hat Network, and burn it to a CD or DVD.
Mount the CD on any writable drive:
mount -F hsfs -o ro `lofiadm -a /directory/solaris9-rhdirserv-8.0-sparcv9-disc1.iso` /directory/tmp cd /directory/tmp/RedHat/PKGS
Translate the package to the Solaris filesystem format:
for i in `ls *.pkg`; do yes all | pkgtrans $i /directory/ ; done
Add the package:
yes yes | pkgadd -d /directory/ all
If another application such as Red Hat Certificate System is already installed on the server, pkgadd detects the shared packages. Make sure that the pkgadd program replaces any existing versions with the packages included with Directory Server.
After the Directory Server packages are installed, run the setup program to set up and configure the default Directory Server instance and the Administration Server.
/usr/sbin/setup-ds-admin.pl
Accept the initial screens for licensing and dsktune output, then select the setup type, and proceed with configuring the new Directory Server instance.
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”.