Typical Setup
41
Admin server was successfully reconfigured and started.
Exiting . . .
Log file is '/tmp/setup0C7tiV.log'
The
setup-ds-admin.pl
script applies all default options for the Directory Server configuration,
including the instance name (for example,
ldap.example.com
), domain (for example,
example.com
), suffix (for example,
dc=example, dc=com
), and port numbers (
389
for the
Directory Server instance and
9830
for the Administration Server).
When the
setup-ds-admin.pl
script is done, then the Directory Server is configured and running.
To log into the Directory Server Console to begin setting up your directory service, do the following:
1. Get the Administration Server port number from the
Listen
parameter in the
console.conf
configuration file.
grep \^Listen /etc/dirsrv/admin-serv/console.conf
Listen 0.0.0.0:
9830
2. Using the Administration Server port number, launch the Console.
/opt/dirsrv/bin/redhat-idm-console -a http://localhost:9830
NOTE
If you do not pass the Administration Server port number with the
redhat-idm-console
command, then you are prompted for it at the Console login screen.
4.4. Typical Setup
The typical setup process is the most commonly-used setup process. It offers control over the ports for
the Directory and Administration Servers, the domain name, and directory suffix.
NOTE
Run the
setup-ds-admin.pl
script as
root
.
The typical setup has the following steps:
WARNING
If Directory Server is already installed on your machine, it is extremely important that you
perform a migration, not a fresh installation. Migration is described in
Chapter 6, Migrating
from Previous Versions
.
1. After the Directory Server packages are installed as described in
Section 4.2, “Installing the
Directory Server Packages”
, then launch the
setup-ds-admin.pl
script.