Installation guide

1. Install the Directory Server packages.
2. Make the setup .inf file. It must specify the following directives:
[General]
FullMachineName= dir.example.com
SuiteSpotUserID= nobody
SuiteSpotGroup= nobody
AdminDomain= exam ple.com
ConfigDirectoryAdminID= admin
ConfigDirectoryAdminPwd= admin
ConfigDirectoryLdapURL= ldap://dir.example.com:389/o=NetscapeRoot
[slapd]
SlapdConfigForMC= Yes
UseExistingMC= 0
ServerPort= 389
ServerIdentifier= dir
Suffix= dc=example,dc=com
RootDN= cn=Directory Manager
RootDNPwd= secret
ds_bename=exampleDB
AddSampleEntries= No
[admin]
Port= 9830
ServerIpAddress= 111.11.11.11
ServerAdm inID= admin
ServerAdm inPwd= admin
There are three sections of directives in the .inf file to create the default Directory and Admin
Servers: [General], [slapd], and [admin]. Creating an additional instance, or installing a
single instance of Directory Server using setup-ds.pl, only requires two sections, [General]
and [slapd].
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.
3. Run the setup-ds-admin script with the -s and -f options.
/usr/sbin/setup-ds-admin.pl -s -f /export/ds-inf/setup.inf
Running setup-ds-admin installs both the Directory Server instance and the Admin Server
instance. This means that the setup file must specify parameters for both the Directory Server and
the Admin 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 and Admin Server instances are configured and running,
as with a standard setup.
4.5.2. Silent Directory Server Instance Creation
Like setting up both the Directory Server and Admin Server, silent setup for a single instance is useful
for configuring multiple instances quickly. Silent setup uses the same scripts that are used to create a
new instances of Directory Server, with a special option signaling that the script is to be run silently and
referencing the setup file to use.
To run a silent setup of a Directory Server instance:
Chapter 4. Advanced Setup and Configuration
4 5