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
setup
command.The
setup
command 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
opendj
directory 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.3.5-20240506155118-fba46f79e3510f00d8e7e5228e53672e49833f71
directory 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-runtime
virtual package:$ sudo apt-get install java11-runtime
-
Install the server package:
$ sudo dpkg -i DS*.deb
The Debian package:
-
Installs server files in the
/opt/opendj
directory. -
Generates service management scripts.
-
Adds documentation files under the
/usr/share/doc/opendj
directory. -
Adds man pages under the
/opt/opendj/share/man
directory.
The files are owned by root by default, making it easier to have the server listen on privileged ports, such as
389
and636
. -
-
Set up the server with the
setup
command,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
rpm
command:$ su Password: root# rpm -ivh jre-*.rpm
-
Install the server package:
root# rpm -i DS*.rpm
The RPM package:
-
Installs server files in the
/opt/opendj
directory. -
Generates service management scripts.
-
Adds man pages under the
/opt/opendj/share/man
directory.
The files are owned by root by default, making it easier to have the server listen on privileged ports, such as
389
and636
. -
-
Set up the server with the
setup
command,/opt/opendj/setup
.By default, the server starts in run levels 2, 3, 4, and 5.
Use the Windows MSI
Make sure you can log on as Windows Administrator to install the files and run the setup.bat
command.
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:
|
GUI
-
Start the wizard as Windows Administrator:
-
If you are logged on as Administrator, double-click the Windows installer package,
DS-7.3.5.msi
. -
If you are logged on as a regular user, hold the shift key while right-clicking
DS-7.3.5.msi
, select Run as different user, and run the installer as Windows Administrator.
-
-
(Optional) Set the Destination Folder to the location for DS server files.
-
The default location is under
Program Files
on the system drive.For example, if the system drive is
C:
, the default location isC:\Program Files (x86)\ForgeRock Directory Services\
. -
The Windows installer has 32-bit dependencies but DS runs as a 64-bit Java application.
-
-
Complete the wizard.
The installation program writes DS server files to the destination folder.
You must run the
setup.bat
command in the destination folder as Administrator to set up DS.
PowerShell
-
Start PowerShell as Windows Administrator:
-
If you are logged on as Windows Administrator, double-click Start > Windows PowerShell.
-
If you are logged on as a regular user, hold the shift key while right-clicking Start > Windows PowerShell and select Run as Administrator.
-
-
Use the Microsoft
msiexec.exe
command to install the files.The following example installs DS server files under
C:\Users\opendj\ds
. It writes aninstall.log
file in the current folder:C:\> msiexec /i C:\Users\opendj\Downloads\DS-7.3.5.msi /l* install.log /q OPENDJ="C:\Users\opendj\ds"
The installation program writes DS server files to the destination folder.
You must run the
setup.bat
command in the destination folder as Administrator to set up DS.