Installation guide

NOTE
When creating a single instance of Directory Server, the Directory Server packages must already
be installed, and the Admin Server must already be configured and running.
1. Make the setup .inf file. It must specify the following directives:
[General]
FullMachineName= dir.example.com
SuiteSpotUserID= nobody
SuiteSpotGroup= nobody
[slapd]
ServerPort= 389
ServerIdentifier= dir
Suffix= dc=example,dc=com
RootDN= cn=Directory Manager
RootDNPwd= secret
ds_bename=exampleDB
SlapdConfigForMC= Yes
UseExistingMC= 0
AddSampleEntries= No
There are two sections of directives in the instance creation: [General] and [slapd]. Installing
the Admin Server, which is done in a default setup file, requires a third parameter as well,
[admin], for the Admin Server.
This parameters correspond to the information supplied during a typical setup. The .inf file
directives are described more in Section 4.5.5.1,.inf File Directives.
2. Run the setup-ds-admin.pl script with the -s and -f options.
/usr/sbin/setup-ds-admin.pl -s -f /export/ds-inf/setup-single.inf
Running setup-ds-admin.pl installs only a Directory Server instance, so the setup file must
specify parameters only for the Directory Server. -s runs the script in silent mode, and -f
/export/ds-inf/setup.inf specifies the setup file to use.
After the script runs, the new Directory Server instance is configured and running, as with a standard
setup.
4.5.3. Sending Parameters in the Command Line
The setup utility, setup-ds-adm in.pl, allows settings for all three configuration components
General (host server), slapd (LDAP server), and adm in (Admin Server)to be passed directly in
the command line. Command-line arguments correspond to the parameters and values set in the .inf
file. T he arguments used with setup-ds-admin.pl specify the .inf setup file section (General,
slapd, or adm in), parameter, and value in the following form:
section.parameter=value
For example, to set the machine name, suffix, and Directory Server port of the new instance, the
command is as follows:
Red Hat Directory Server 8.2 Installation Guide
4 6