for setting up large numbers of Directory Server instances, because it does not require any user involvement after the package is installed.

You can also provide a setup file with certain parameters predefined for interactive mode. In addition, when you enter the command to run the script for interactive or silent mode, you can pass parameters in the command line. They can be used to determine default parameter values for certain interactive setup prompts or to override the values defined in a provided setup file. Options that you can specify with the command line are described in Table 3-1.

The remainder of this section covers the following topics:

“Options for running the setup script” (page 17)

“Interactive setup modes” (page 20)

“Performing express setup” (page 22)

“Performing typical setup” (page 24)

“Performing custom setup” (page 26)

“Performing silent setup” (page 29)

“Sending parameters in the command line” (page 35)

“Importing LDIF files for configuring Directory Server users, replication, and other entities” (page 36)

NOTE:

Directory Server version 8.1 conforms to the Filesystem Hierarchy Standards (FHS). This means that the directories and files are in different locations than previous versions. For more information on FHS, see the following web address:

http://www.pathname.com/fhs/

For information on new file locations, see “Directory Server file locations” (page 43).

3.6.2 Options for running the setup script

In interactive mode, the setup-ds-adminscript launches a series of dialog screens prompting you for a yes or no answer or simple text input.

When running the script, you can pass arguments in the command line that provide values for specific setup parameters. You can also specify options in the command line that allow you to supply predefined values from a specified file (using the -foption). In addition, you can run the script silently instead of interactively, using the predefined values from a specified file (using the -soption in conjunction with the -foption). Passing arguments in the command line, or specifying a file with predefined values, sets the defaults used in the script's interactive prompts. If you specify the -s(silent) option, there are no interactive prompts; values specified in the command line or predefined in the specified file automatically determine the values used for setting up a Directory Server instance. For a list of the command line options available with the setup-ds-adminscript, see Table 3-1.

Responding to prompts and navigating between screen prompts

When you run the script interactively, the setup script prompts you for input. Observe these guidelines:

-k

Each prompt includes a default answer in square brackets. In the following example, the default answer is yes.

Would you like to continue with setup? [yes]:

Pressing Enter accepts the default answer and proceeds to the next dialog screen prompt. Yes or No prompts accept y for Yes and n for No.

3.6 Setting up the Directory Server and Administration Server

17