OpenDJ
What is OpenDJ¶
OpenDJ is an LDAPv3 compliant directory service, which has been developed for the Java platform, providing a high performance, highly available, and secure store for the identities managed by your organization. Its easy installation process, combined with the power of the Java platform makes OpenDJ the simplest, fastest directory to deploy and manage.
OpenDJ is the main trunk developed by ForgeRock and maintained by the Open Identity Platform Community.
OpenDJ Learn¶
Prerequisite¶
Java Environment¶
OpenDJ software consists of pure Java applications. OpenDJ servers and clients run on any system with full Java support.
Make sure you have a required Java environment installed and OpenDJ software requires Java 7 or 8, specifically at least the Java Standard Edition runtime environment.
- Install Java
# Fedora distros
# Install OpenJDK 8
sudo dnf install java-1.8.0-openjdk-devel -y
#Verify the Installation
java -version
# Output something similar
openjdk version "1.8.0_XXX"
OpenJDK Runtime Environment (build 1.8.0_XXX-bXX)
OpenJDK 64-Bit Server VM (build 25.XXX-bXX, mixed mode)
# Set Default Java Version (Optional)
sudo alternatives --config java
# Output similar
/usr/lib/jvm/java-8-openjdk-8.0.16.1.1-1.el8_6.x86_64
- Open your .bashrc file or .bash_profile or /etc/profile file
- Add the following line to set JAVA_HOME (replace with your actual path).
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-8.0.16.1.1-1.el8_6.x86_64
export PATH=$JAVA_HOME/bin:$PATH
Installations¶
Install OpenDJ Directory Server From the Command-Line¶
- Download the opendj-3.5.3.zip
- unzip opendj-3.5.3.zip
- Run the setup --cli command found in the /path/to/opendj directory
$ /path/to/opendj/setup --cli
Install OpenDJ Directory Server With the GUI¶
- Download the opendj-3.5.3.zip
- unzip opendj-3.5.3.zip
- Run
#Linux
$ opendj/setup
# Windows
C:\opendj\setup.bat