As long as you have JDK installed on MacBook, installation is a breeze. It took me less than 5 mins to get a decent instance up and running.
cheechongs-macbook:OpenDS-2.0.0 cheechong$ ./setup --cliOpenDS Directory Server 2.0.0Please wait while the setup program initializes...What would you like to use as the initial root user DN for the DirectoryServer? [cn=Directory Manager]:Please provide the password to use for the initial root user:Please re-enter the password for confirmation:On which port would you like the Directory Server to accept connections fromLDAP clients? :On which port would you like the Administration Connector to acceptconnections? : 8888 <-- I dun like 4444. I'll use 8888 instead.What do you wish to use as the base DN for the directory data?[dc=example,dc=com]: dc=sg,dc=sunOptions for populating the database:1) Only create the base entry2) Leave the database empty3) Import data from an LDIF file4) Load automatically-generated sample dataEnter choice : 4Please specify the number of user entries to generate: :Do you want to enable SSL? (yes / no) [no]: yesOn which port would you like the Directory Server to accept connections fromLDAPS clients? :Do you want to enable Start TLS? (yes / no) [no]:Certificate server options:1) Generate self-signed certificate (recommended for testing purposesonly)2) Use an existing certificate located on a Java Key Store (JKS)3) Use an existing certificate located on a JCEKS key store4) Use an existing certificate located on a PKCS#12 key store5) Use an existing certificate on a PKCS#11 tokenEnter choice :Do you want to start the server when the configuration is completed? (yes /no) [yes]:Setup Summary=============LDAP Listener Port: 1389Administration Connector Port: 8888LDAP Secure Access: Enable SSL on LDAP Port 1636Create a new Self-Signed CertificateRoot User DN: cn=Directory ManagerDirectory Data: Create New Base DN dc=sg,dc=sun.Base DN Data: Import Automatically-Generated Data (2000 Entries)Start Server when the configuration is completedWhat would you like to do?1) Setup the server with the parameters above2) Provide the setup parameters again3) Cancel the setupEnter choice :Configuring Directory Server ..... Done.Configuring Certificates ..... Done.Importing Automatically-Generated Data (2000 Entries) ....... Done.Starting Directory Server ......... Done.See /tmp/opends-setup-17177.log for a detailed log of this operation.To see basic server configuration status and configuration you can launch /Users/cheechong/Documents/Technical/OpenDS-2.0.0/bin/status
cheechongs-macbook:bin cheechong$ ./status>>>> Specify OpenDS LDAP connection parametersAdministrator user bind DN [cn=Directory Manager]:Password for user 'cn=Directory Manager':--- Server Status ---Server Run Status: StartedOpen Connections: 1--- Server Details ---Host Name: cheechongs-macbook.localAdministrative Users: cn=Directory ManagerInstallation Path: /Users/cheechong/Documents/Technical/OpenDS-2.0.0Version: OpenDS Directory Server 2.0.0Java Version: 1.5.0_16Administration Connector: Port 8888 (LDAPS)--- Connection Handlers ---Address:Port : Protocol : State-------------:----------:----------- : LDIF : Disabled0.0.0.0:161 : SNMP : Disabled0.0.0.0:1389 : LDAP : Enabled0.0.0.0:1636 : LDAPS : Enabled0.0.0.0:1689 : JMX : Disabled--- Data Sources ---Base DN: dc=sg,dc=sunBackend ID: userRootEntries: 2002Replication: Disabled
This installation is far easier and faster than Sun Directory Server Enterprise Edition installation.