2011-2013ForgeRock ASsetup1OpenDJsetupinstall OpenDJ directory serversetupoptionsDescriptionThis utility can be used to setup the directory server.OptionsThe following options are supported.Indicates whether to create the base entry in the directory server
databasePort on which the Administration Connector should listen for
communicationDefault value: 4444Base DN for user information in the directory server. Multiple base
DNs may be provided by using this option multiple timesDefault value: dc=example,dc=comSpecifies that the database should be populated with the specified
number of sample entriesDefault value: 0DN for the initial root user for the directory serverDefault value: cn=Directory ManagerGenerate a self-signed certificate that the server should use when
accepting SSL-based connections or performing StartTLS negotiationThe fully-qualified directory server host name that will be used
when generating self-signed certificates for LDAP SSL/StartTLS, the
administration connector, and replicationDefault value: localhost.localdomainUse the command line install. If not specified the graphical
interface will be launched. The rest of the options (excluding help and
version) will only be taken into account if this option is specifiedPath to a file containing the password for the initial root user for
the directory serverPath to an LDIF file containing data that should be added to the
directory server database. Multiple LDIF files may be provided by using
this option multiple timesNickname of the certificate that the server should use when
accepting SSL-based connections or performing StartTLS negotiationDo not start the server when the configuration is completedPort on which the Directory Server should listen for LDAP
communicationDefault value: 389Enable StartTLS to allow secure communication with the server using
the LDAP portWrite rejected entries to the specified fileSkip the check to determine whether the specified ports are
usableWrite skipped entries to the specified fileCertificate key store PIN file. A PIN is required when you specify
to use an existing certificate (JKS, JCEKS, PKCS#12 or PKCS#11) as server
certificatePath of a Java Key Store (JKS) containing a certificate to be used
as the server certificatePath of a JCEKS containing a certificate to be used as the server
certificateUse a certificate in a PKCS#11 token that the server should use when
accepting SSL-based connections or performing StartTLS negotiationPath of a PKCS#12 key store containing the certificate that the
server should use when accepting SSL-based connections or performing
StartTLS negotiationPassword for the initial root user for the Directory ServerCertificate key store PIN. A PIN is required when you specify
to use an existing certificate (JKS, JCEKS, PKCS#12 or PKCS#11) as server
certificatePort on which the Directory Server should listen for JMX
communicationDefault value: 1689Port on which the Directory Server should listen for LDAPS
communication. The LDAPS port will be configured and SSL will be enabled
only if this argument is explicitly specifiedDefault value: 636Utility Input/Output OptionsUse non-interactive mode. If data in the command is missing, the
user is not prompted and the tool will failNo properties file will be used to get default command line
argument valuesPath to the file containing default property values used for
command line argumentsRun setup in quiet mode. Quiet mode will not output progress
information to standard outputUse verbose modeGeneral OptionsDisplay version informationDisplay usage informationExit Codes0The command completed successfully.> 0An error occurred.ExamplesThe following command installs OpenDJ directory server, enabling
StartTLS and importing 100 example entries without interaction.$ ./opendj/setup --cli -b dc=example,dc=com -d 100 -D "cn=Directory Manager"
-w password -h `hostname` -p 1389
--generateSelfSignedCertificate --enableStartTLS -n
OpenDJ
Please wait while the setup program initializes...
See /var/.../opends-setup-484...561.log for a detailed log of this operation.
Configuring Directory Server ..... Done.
Configuring Certificates ..... Done.
Importing Automatically-Generated Data (100 Entries) ......... Done.
Starting Directory Server .......... Done.
To see basic server configuration status and configuration you can launch
/path/to/opendj/bin/status