# CLI setup command for OpenDS 2.0.x. # Be sure to change the domain, password, and ports to your liking. ./setup --cli -n -b "dc=somedomain,dc=com" -a -p 1389 --adminConnectorPort 4444 -D "cn=Directory Manager" -w Mypassw0rd -q -Z 1636 --generateSelfSignedCertificate # Ok, the full list of 5 commands, from download to install, to first search of the root dn. # Well under 5 minutes if you have a fast internet connection and a fast *nix machine. # This took just a few minutes on my MacBook. curl -O http://www.opends.org/promoted-builds/2.0.0/OpenDS-2.0.0.zip unzip OpenDS-2.0.0.zip cd OpenDS-2.0.0/ ./setup --cli -n -b "dc=somedomain,dc=com" -a -p 1389 --adminConnectorPort 4444 -D "cn=Directory Manager" -w Mypassw0rd -q -Z 1636 --generateSelfSignedCertificate ./bin/ldapsearch -h localhost -p 1389 -D "cn=directory manager" -w Mypassw0rd -b "dc=somedomain,dc=com" "objectclass=*" # Now you can stop and start your server at will. ./bin/stop-ds ./bin/start-ds