28
Chapter 3. Using Express and Typical Installation
3.4. Installing on Red Hat Enterprise Linux Using a Typical
Installation
To install Directory Server on Red Hat Enterprise Linux, do the following:
1. Log in as root.
2. If you have not already done so, download the product binaries file to the installation directory.
3. Use the rpm tool to install the server components, as follows:
rpm -ivh
package
.rpm
The server components are then installed in the default location:
/opt/redhat-ds/
.
4. Next, you need to create an instance of the Directory Server by running the setup program:
cd /opt/redhat-ds/
./setup/setup
5. Type
y
to accept the licensing agreement, then
y
again to continue with setup.
6. Select the installation mode; the default is typical installation.
7. For the hostname, either enter a fully qualified hostname or select the default (which is the local
host).
Caution
The default hostname may be incorrect if the installer cannot locate a DNS name in your
system. For example, you might not have a DNS name if your system uses NIS.
The hostname must be a fully qualified host and domain name. If the default
hostname is not a fully qualified host and domain name, installation fails. Refer to
Section 7.2
Common Installation Problems
for more information about entering a fully
qualified domain name.
8. The setup program then asks you for the
System User
and the
System Group
names.
Enter the identity under which you want the servers to run.
For more information on the user and group names that you should use when running your
servers, refer to Section 1.2.3
Deciding the User and Group for Your Servers
.
9. For the configuration directory, select the default if this directory will host your
o=NetscapeRoot
tree. Otherwise, enter yes. You will then be asked for the contact
information for the configuration directory.
If the server you are currently installing is not the configuration directory, then the configuration
directory must exist before you can continue this installation.
10. The setup program then asks if you want to use a different installation for your user directory.
The default is
no
(this installation will be the user directory). However, if you intend this server
instance to be used as a configuration directory only, then you should enter
yes
.
11. For the Directory Server port, select the default; this will be 389 or a randomly-generated port
number if you already have another application using that port or you are not installing as root.
12. For the Directory Server Identifier, enter a unique value (normally the default is sufficient).
This value is used as part of the name of the directory in which the Directory Server instance is
installed. For example, if your machine’s host name is phonebook, then this name is the default,
and selecting it will cause the Directory Server instance to be installed into a directory labeled
slapd-phonebook
.
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Red Hat Directory Server 7 1 Red Hat Directory Server Installation Guide ...
Page 28: ...22 Chapter 2 Computer System Requirements ...
Page 36: ...30 Chapter 3 Using Express and Typical Installation ...
Page 48: ...42 Chapter 4 Silent Installation and Instance Creation DisableSchemaChecking No ...
Page 64: ...58 Chapter 6 Migrating from Previous Versions ...
Page 70: ...64 Chapter 7 Troubleshooting ...
Page 94: ...88 Glossary ...