Installing OpenDJ With a Graphical InstallerDownloading OpenDJQuick installIf you want only to try OpenDJ server software, and you do not plan to
store any real or important data that you want to keep, then read only this
chapter, or just try out installation without reading any further.Installing OpenDJ With the QuickSetup WizardQuickSetup uses Java WebStart to let you perform an installation of
OpenDJ directory server starting with a click in your web browser, which can
be a great way to try OpenDJ directory server for the first time, or to do a
quick test installation.OpenDJ directory server relies on Java 6 or later, so if your browser
picks up an old installation of Java 5 for example, installation can
fail. You might see an application error message such as this:Application error due to old Java versionMessage showing the browser is unable to launch the applicationIf the WebStart installation does not work in your browser, copy
the WebStart URL, ending in QuickSetup.jnlp, from the
OpenDJ download page. Next, pass the link as an argument to the
javaws command in a terminal window to start the
installer.
$ export PATH=/path/to/java/bin:$PATH
$ javaws URL-to-QuickSetup-Installer
The WebStart installer corresponds to what you start
if you download OpenDJ-${docTargetVersion}.zip,
unzip the file,
and then run the
setup command,
opendj/setup (UNIX),
opendj\setup.bat (Windows),
or opendj/QuickSetup.app (Mac OS X).
Java WebStart launches the the QuickSetup wizard, and soon the
Welcome screen appears.The Welcome screen summarizes the setup process.Accept the license to install OpenDJ directory server if QuickSetup
presents a license text.In the Server Settings screen that the default ports
are 389 or 1389 for LDAP, 4444 for administrative access.You can replicate data for high availability through the
Topology Options screen.You can generate test data as part of server setup in the Directory
Data screen.For a real installation, you can adjust JVM parameters for
your server, for example to allow OpenDJ to use more memory.You can opt to start your server when setup completes.Click the Launch Control Panel button to check your newly
installed server.OpenDJ Control Panel offers basic administration capabilities.Installing OpenDJ From the Windows Installer Package
You can start installing OpenDJ directory server on Windows systems
from the Windows installer package,
OpenDJ-${docTargetVersion}.msi.
Windows installer (.msi) packageTo Install OpenDJ From the Windows Installer Package
Installing OpenDJ directory server by using the Windows installer package
is a two-stage process.
First, you install the files by using the Windows installer package wizard.
Second, you configure OpenDJ by using the setup command.
Install OpenDJ files in one of the following ways.
Double-click the Windows installer package,
OpenDJ-${docTargetVersion}.msi,
to start the install wizard.
In the Destination Folder screen, set the folder
where the wizard installs OpenDJ directory server files.
The default location is under Program Files on the system drive.
For example if the system drive is C:, the default location is
C:\Program Files (x86)\OpenDJ\,
as the native executable is a 32-bit application,
though you can run OpenDJ directory server
with a 64-bit Java environment.
Use the Microsoft msiexec.exe command
to install the files.
The following example installs OpenDJ directory server files under
C:\OpenDJ-${docTargetVersion},
writing an installation log file, install.log,
in the current folder.
C:\>msiexec /i OpenDJ-${docTargetVersion}.msi /l* install.log /q OPENDJ=C:\OpenDJ-${docTargetVersion}
Start the installation.
When installation is finished, OpenDJ directory server files
are found in the location you specified as Destination Folder.
You must still run the setup command
before you can use OpenDJ directory server.
Browse to the Destination Folder,
and double-click the setup command
to start the OpenDJ QuickSetup wizard
and following the instructions on screen
as described in .
Starting OpenDJ Control Panel
You might close OpenDJ Control Panel,
or decide to start it later after closing the QuickSetup wizard.
To launch OpenDJ Control Panel again later, run the
control-panel command.
Depending on your host system, this command is one of the following.
(Mac OS X) /path/to/opendj/bin/ControlPanel.app(UNIX) /path/to/opendj/bin/control-panel(Windows) C:\path\to\opendj\bat\control-panel.bat