This chapter describes how to perform basic installation activities. This chapter contains the following sections:
Section 3.1 Installing on Solaris and HP-UX using an Express Installation
Section 3.2 Installing on Solaris and HP-UX using a Typical Installation
Section 3.4 Installing on Red Hat Enterprise Linux Using a Typical Installation.
Use express installation if you are installing Directory Server to evaluate or test the product. Because express installation does not offer you the choice of selecting your server port number or your directory suffix, you should not use it for production installations.
To perform an express installation, do the following:
Log in as root (root login is required for express installation).
Create a new directory:
mkdir ds cd ds |
If you have not already done so, download the product binaries file to the installation directory.
Unpack the product binaries file using the following command:
gunzip -dc filename.tar.gz | tar -xvof - |
where filename corresponds to the product binaries you want to unpack.
Run the setup program. You can find it in the directory in which you untarred or unzipped the binary files.
Issue the following command:
./setup |
You will need to download a copy of the JRE for use with Directory Server. When asked for the location of the unpackaged JRE, enter the full path to the location of your downloaded JRE. See Section 2.3.6 Installing the JRE.
Once the JRE is installed, dsktune will run, providing valuable host-tuning information. Enter yes once the machine has been tuned.
Select
When you are asked what you would like to install, select the default, Red Hat Servers.
When you are asked what type of installation you would like to perform, select Express Installation.
For the server root or destination directory, enter a full path to the location where you want to install your server.
The location that you enter must be some directory other than the directory from which you are running the setup program. Also, the name of the directory where you install files must not contain any space characters. If the directory that you specify does not exist, the setup program creates it for you.
Choose All to install all components.
For the user and group to run the servers, enter the identity as whom you want this server to run. For more information on the user and groups that you should use when running your servers, see Section 1.2.3 Deciding the User and Group for Your Servers.
For configuration directory administrator ID and password, enter the name and password as whom you will log in when you want to authenticate to the Console with full privileges (think of this as the root or superuser identity for the Red Hat Console).
The server is then unpackaged, minimally configured, and started. You are told on what host and port number the server is listening:
The Directory Server is listening on port 389 (the default).
The server is configured to use the following suffixes:
If your machine is named test.example.com, then you will have the suffix dc=example,dc=com configured for this server.
Do not modify the contents of the directory under the o=NetscapeRoot suffix. Either create data under the first suffix or create a new suffix to be used for this purpose. For details on how to create new suffixes for your Directory Server, see the Red Hat Directory Server Administration Guide.