...
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 | ||
---|---|---|
| ||
sudo apt-get install fontconfig |
Configure Java
Panel |
---|
If your default Java environment is not appropriate, set |
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 | ||
---|---|---|
| ||
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,
...