mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
17.54.2014 dab677b887c19f49a0e298f80f55c9ef8d81a85b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
'\" t
.\"     Title: setup
.\"    Author: 
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 07/16/2013
.\"    Manual: Tools Reference
.\"    Source: OpenDJ 2.8.0
.\"  Language: English
.\"
.TH "SETUP" "1" "07/16/2013" "OpenDJ 2\&.8\&.0" "Tools Reference"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
setup \- install OpenDJ directory server
.SH "SYNOPSIS"
.HP \w'\fBsetup\fR\ 'u
\fBsetup\fR [options]
.SH "DESCRIPTION"
.PP
This utility can be used to setup the directory server\&.
.SH "OPTIONS"
.PP
The following options are supported\&.
.PP
\fB\-a, \-\-addBaseEntry\fR
.RS 4
Indicates whether to create the base entry in the directory server database
.RE
.PP
\fB\-\-adminConnectorPort {port}\fR
.RS 4
Port on which the Administration Connector should listen for communication
.sp
Default value: 4444
.RE
.PP
\fB\-b, \-\-baseDN {baseDN}\fR
.RS 4
Base DN for user information in the directory server\&. Multiple base DNs may be provided by using this option multiple times
.sp
Default value: dc=example,dc=com
.RE
.PP
\fB\-d, \-\-sampleData {numEntries}\fR
.RS 4
Specifies that the database should be populated with the specified number of sample entries
.sp
Default value: 0
.RE
.PP
\fB\-D, \-\-rootUserDN {rootUserDN}\fR
.RS 4
DN for the initial root user for the directory server
.sp
Default value: cn=Directory Manager
.RE
.PP
\fB\-\-generateSelfSignedCertificate\fR
.RS 4
Generate a self\-signed certificate that the server should use when accepting SSL\-based connections or performing StartTLS negotiation
.RE
.PP
\fB\-h, \-\-hostname {host}\fR
.RS 4
The fully\-qualified directory server host name that will be used when generating self\-signed certificates for LDAP SSL/StartTLS, the administration connector, and replication
.sp
Default value: localhost\&.localdomain
.RE
.PP
\fB\-i, \-\-cli\fR
.RS 4
Use 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 specified
.RE
.PP
\fB\-j, \-\-rootUserPasswordFile {rootUserPasswordFile}\fR
.RS 4
Path to a file containing the password for the initial root user for the directory server
.RE
.PP
\fB\-l, \-\-ldifFile {ldifFile}\fR
.RS 4
Path 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 times
.RE
.PP
\fB\-N, \-\-certNickname {nickname}\fR
.RS 4
Nickname of the certificate that the server should use when accepting SSL\-based connections or performing StartTLS negotiation
.RE
.PP
\fB\-O, \-\-doNotStart\fR
.RS 4
Do not start the server when the configuration is completed
.RE
.PP
\fB\-p, \-\-ldapPort {port}\fR
.RS 4
Port on which the Directory Server should listen for LDAP communication
.sp
Default value: 389
.RE
.PP
\fB\-q, \-\-enableStartTLS\fR
.RS 4
Enable StartTLS to allow secure communication with the server using the LDAP port
.RE
.PP
\fB\-R, \-\-rejectFile {rejectFile}\fR
.RS 4
Write rejected entries to the specified file
.RE
.PP
\fB\-S, \-\-skipPortCheck\fR
.RS 4
Skip the check to determine whether the specified ports are usable
.RE
.PP
\fB\-\-skipFile {skipFile}\fR
.RS 4
Write skipped entries to the specified file
.RE
.PP
\fB\-u, \-\-keyStorePasswordFile {keyStorePasswordFile}\fR
.RS 4
Certificate 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 certificate
.RE
.PP
\fB\-\-useJavaKeystore {keyStorePath}\fR
.RS 4
Path of a Java Key Store (JKS) containing a certificate to be used as the server certificate
.RE
.PP
\fB\-\-useJCEKS {keyStorePath}\fR
.RS 4
Path of a JCEKS containing a certificate to be used as the server certificate
.RE
.PP
\fB\-\-usePkcs11Keystore\fR
.RS 4
Use a certificate in a PKCS#11 token that the server should use when accepting SSL\-based connections or performing StartTLS negotiation
.RE
.PP
\fB\-\-usePkcs12keyStore {keyStorePath}\fR
.RS 4
Path of a PKCS#12 key store containing the certificate that the server should use when accepting SSL\-based connections or performing StartTLS negotiation
.RE
.PP
\fB\-w, \-\-rootUserPassword {rootUserPassword}\fR
.RS 4
Password for the initial root user for the Directory Server
.RE
.PP
\fB\-W, \-\-keyStorePassword {keyStorePassword}\fR
.RS 4
Certificate key store PIN\&. A PIN is required when you specify to use an existing certificate (JKS, JCEKS, PKCS#12 or PKCS#11) as server certificate
.RE
.PP
\fB\-x, \-\-jmxPort {jmxPort}\fR
.RS 4
Port on which the Directory Server should listen for JMX communication
.sp
Default value: 1689
.RE
.PP
\fB\-Z, \-\-ldapsPort {port}\fR
.RS 4
Port 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 specified
.sp
Default value: 636
.RE
.SS "Utility Input/Output Options"
.PP
\fB\-n, \-\-no\-prompt\fR
.RS 4
Use non\-interactive mode\&. If data in the command is missing, the user is not prompted and the tool will fail
.RE
.PP
\fB\-\-noPropertiesFile\fR
.RS 4
No properties file will be used to get default command line argument values
.RE
.PP
\fB\-\-propertiesFilePath {propertiesFilePath}\fR
.RS 4
Path to the file containing default property values used for command line arguments
.RE
.PP
\fB\-Q, \-\-quiet\fR
.RS 4
Run setup in quiet mode\&. Quiet mode will not output progress information to standard output
.RE
.PP
\fB\-v, \-\-verbose\fR
.RS 4
Use verbose mode
.RE
.SS "General Options"
.PP
\fB\-V, \-\-version\fR
.RS 4
Display version information
.RE
.PP
\fB\-?, \-H, \-\-help\fR
.RS 4
Display usage information
.RE
.SH "EXIT CODES"
.PP
0
.RS 4
The command completed successfully\&.
.RE
.PP
> 0
.RS 4
An error occurred\&.
.RE
.SH "EXAMPLES"
.PP
The following command installs OpenDJ directory server, enabling StartTLS and importing 100 example entries without interaction\&.
.sp
.if n \{\
.RS 4
.\}
.nf
$ /path/to/opendj/setup \-\-cli \-b dc=example,dc=com \-d 100
 \-D "cn=Directory Manager" \-w password \-h opendj\&.example\&.com \-p 1389
 \-\-generateSelfSignedCertificate \-\-enableStartTLS \-n 
 
OpenDJ 2\&.8\&.0
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
.fi
.if n \{\
.RE
.\}
.SH "COPYRIGHT"
.br
Copyright \(co 2011-2013 ForgeRock AS
.br