Unpack files
The following procedures only unpack the server files.
You must then run the setup command to set up the server:
Unpack the cross-platform zip
You can use the .zip delivery on any supported operating system.
-
Unpack the cross-platform .zip file in the file system directory where you want to install the server.
Perform this step as a user with the same file system permissions as the user who will run the
setupcommand.The
setupcommand uses the directory where you unzipped the files as the installation directory. It does not ask you where to install the server. If you want to install elsewhere on the file system, unzip the files in that location.Unzipping the .zip file creates a top-level
opendjdirectory in the directory where you unzipped the file. On Windows systems if you unzip the file with Right-Click > Extract All, remove the trailingopendj-7.2.5directory from the folder you specify.
Use the Debian package
On Debian and related Linux distributions, such as Ubuntu, you can unpack files using the Debian package:
-
Review requirements for installation.
In particular, install a Java runtime environment (JRE) if none is installed yet. The following example uses the
java11-runtimevirtual package:$ sudo apt-get install java11-runtime -
Install the server package:
$ sudo dpkg -i DS*.debThe Debian package:
-
Installs server files in the
/opt/opendjdirectory. -
Generates service management scripts.
-
Adds documentation files under the
/usr/share/doc/opendjdirectory. -
Adds man pages under the
/opt/opendj/share/mandirectory.
The files are owned by root by default, making it easier to have the server listen on privileged ports, such as
389and636. -
-
Set up the server with the
setupcommand,sudo /opt/opendj/setup.
Use the RPM package
On Red Hat and related Linux distributions, such as Fedora and CentOS, you can unpack files using the RPM package:
-
Review requirements for installation.
In particular, install a Java runtime environment (JRE) if none is installed yet. You might need to download an RPM to install the Java runtime environment, and then install the RPM by using the
rpmcommand:$ su Password: # rpm -ivh jre-*.rpm -
Install the server package:
# rpm -i DS*.rpmThe RPM package:
-
Installs server files in the
/opt/opendjdirectory. -
Generates service management scripts.
-
Adds man pages under the
/opt/opendj/share/mandirectory.
The files are owned by root by default, making it easier to have the server listen on privileged ports, such as
389and636. -
-
Set up the server with the
setupcommand,/opt/opendj/setup.By default, the server starts in run levels 2, 3, 4, and 5.
Use the Windows MSI
|
Prevent antivirus and intrusion detection systems from interfering with DS software. Before using DS software with antivirus or intrusion detection software, consider the following potential problems:
|
-
Install the server files in one of the following ways:
-
Run the GUI installer:
-
Double-click the Windows installer package,
DS-7.2.5.msi, to start the install wizard. -
In the Destination Folder screen, set the folder location for the server files.
The default location is under
Program Fileson the system drive. For example, if the system drive isC:, the default location isC:\Program Files (x86)\opendj\.The native executable is a 32-bit application, though you can run the server in a 64-bit Java environment.
-
Start the installation.
When installation is finished, the server files are found in the location you specified.
-
-
Use the Microsoft
msiexec.execommand to install the files.The following example installs the server files under
C:\opendj-7.2.5, writing an installation log file,install.log, in the current folder:C:\> msiexec /i DS-7.2.5.msi /l* install.log /q OPENDJ=C:\opendj-7.2.5
-