![Red Hat 8.1 Скачать руководство пользователя страница 66](http://html.mh-extra.com/html/red-hat/8-1/8-1_installation-manual_1427350066.webp)
Chapter 5. Advanced Setup and Configuration
56
After the script runs, the new Directory Server and Administration Server instances are configured and
running, as with a standard setup.
5.5.2. Silent Directory Server Instance Creation
Like setting up both the Directory Server and Administration 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, do the following:
NOTE
When creating a single instance of Directory Server, the Directory Server packages
must already be installed, and the Administration 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 Administration Server, which is done in a default setup file, requires a third parameter as well,
[admin]
, for the Administration Server.
This parameters correspond to the information supplied during a typical setup. The
.inf
file
directives are described more in
Section 5.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.
Содержание 8.1
Страница 10: ...x ...
Страница 24: ...14 ...
Страница 32: ...22 ...
Страница 60: ...50 ...
Страница 120: ...110 ...