Server User Manual

Chapter 7. Command-Line Scripts
318
NOTE
This script only creates a Directory Server instance, not an Administration Server. For
the new instance to work, there has to be an Administration Server and Configuration
Directory Server installed on another machine.
Information can be passed with the script or in an .inf file. If no options are used, the setup-ds.pl
launches an interactive configuration program.
Both the .inf parameters and command-line arguments are described in the silent configuration
section of the Installation Guide.
Syntax
setup-ds.pl [ --debug ] [ --silent ] [ --file=name ] [ --keepcache ] [ --log=name ] [ --update ]
Options
Option Alternate Options Description
--silent -s This runs the register script
in silent mode, drawing the
configuration information from
a file (set with the --file
parameter) or from arguments
passed in the command line
rather than interactively.
--file=name -f name This sets the path and name
of the file which contains the
configuration settings for the
new Directory Server instance.
This can be used with the --
silent parameter; if used
alone, it sets the default values
for the setup prompts.
--debug -d[dddd] This parameter turns on
debugging information. For the
-d flag, increasing the number
of d's increases the debug
level.
--keepcache -k This saves the temporary
installation file (.inf) that is
created when the register script
is run. This file can then be
reused for a silent setup. This
file is always generated, but
is usually deleted once the
install is complete. The file is
created as a log file named /