Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OpenDJ replication requires that you use fully qualified domain names, such as opendj.example.com so we'll use,

opendj1opendj0.krypton.com com www.opendj1opendj0.krypton.com

Ensure that your dns entry is also in your host file.

...

Code Block
languagebash
sudo apt-get install fontconfig 

Configure Java

Panel

If your default Java environment is not appropriate, set OPENDJ_JAVA_HOME to the path to the correct Java environment, or set OPENDJ_JAVA_BIN to the absolute path of the java command. The latter environment variable is useful for example if you have both 32-bit and 64-bit versions of the Java environment installed, and want to make sure you use the 64-bit version.

What? Why have two variables? Anyway,

In theory and design we should be able to make OpenDJ truly zero footprint and specify the exact version of Java to run via the systems configuration file. However, in actual practice you end up having to setup and Java environment variable to pretty much do anything, so we might as well use a Java environment variable to run OpenDJ.

When you try to run the setup,

Code Block
languagebash
cd /opt/opends.0

./setup --cli
Please set OPENDS_JAVA_HOME to the root of a Java 6 update 10 (or higher) installation or edit the java.properties file and then run the dsjavaproperties script to specify the Java version to be used.

What is dsjavaproperties? According to the inline comments in java.properties goes and updates all the different scripts with the new settings made in java.properties.

However, the funny thing is you need to set OPENDS_JAVA_HOME to even run dsjavaproperties.

 

Made the following changes to config/java.properties,

...