...
Code Block | ||
---|---|---|
| ||
cd /opt/opendsopendj.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. |
...
Code Block |
---|
sudo mv /home/serveradmin/OpenDJ-2.4.5/ /opt/opendj/
sudo chown -R serveradmin:staff ./opendj/
sudo chmod -R 750 ./opendj/
sudo mv ./opendj/ ./opendj.0/ # Marking this as the first instance |
Start the Setup
Run the command line setup,
Code Block | ||
---|---|---|
| ||
cd /opt/opendsopendj.0 ./setup --cli |
Unless otherwise indicated select the default option,
...
Code Block | ||
---|---|---|
| ||
Setup Summary ============= LDAP Listener Port: 1389 Administration Connector Port: 4444 LDAP Secure Access: disabled Root User DN: cn=Directory Manager Directory Data: Create New Base DN cd=krypton,dc=com. Base DN Data: Only Create Base Entry (cd=krypton,dc=com) Do not start Server when the configuration is completed What would you like to do? 1) Set up the server with the parameters above 2) Provide the setup parameters again 3) Print equivalent non-interactive command-line 4) Cancel and exit Enter choice [1]: See /tmp/opends-setup-998122271824097562.log for a detailed log of this operation. Configuring Directory Server ..... Done. Creating Base Entry cd=krypton,dc=com ..... Done. To see basic server configuration status and configuration you can launch /opt/opendsopendj.0/bin/status |
Start and Stop
...
In our own experience, we were not successful when we tried to use OpenDJ for the configuration data store even though we followed the steps to Relax the Restriction on Objects.
Relax the Restriction on Objects
Another bug in a sense. Carefully reading the manual, "if you decide to use an existing installation of OpenDJ for configuration data, then you must first relax the restriction on objects with multiple structural object classes, by using the OpenDJ *dsconfig* command before completing OpenAM configuration".
Enter this into the command line
cd /opt/opends. 0 ./dsconfig -h opendj.tin-pham.com -p 4444 -D "cn=Directory Manager" -w ****** set-global-configuration-prop --set single-structural-objectclass-behavior:warn -X -n |
References
Not bad but not good manual setup - http://opendj.forgerock.org/doc/install-guide/OpenDJ-Install-Guidedocs.html
https://bugster.forgerock.org/jira/browse/OPENDJ-330