You can download the installation files for Sun Directory Server Enterprise Edition from the Sun website at:
http://www.sun.com/software/products/directory_srvr_ee/get.jsp
Note that the instructions that follow apply specifically to version 6.2, and that any steps may vary depending on the version that you download.
Once you have downloaded the install file, you will need to extract it with the following command:
tar -xzvf DSEE.6.2...full.tar.gz
You will need to specify the exact relative path and filename of the install file, in order to extract it.
To make an initial deployment of DSEE, you will need to enter the ZIP_Distribution directory within the folder where you have extracted the DSEE.6.2 installation file:
cd ZIP_Distribution
Now run the following command:
./dsee_deploy install -i /opt/dsee62
This will install DSEE into the directory /opt/dsee62 on your system.
To create a new LDAP instance listening on a particular port on your server, you can run the following commands:
cd /opt/dsee62/ds6/bin
./dsadm create -p 389 /local/[instance-name]
./dsadm start /local/[instance-name]
In this case, all of the files required for the instance will be created in /local on your filesystem. This directory should exist before you run the above commands. Alternatively, specify a different directory that is specific to your filesystem.
To create the root suffix where you will load your data, do the following:
./dsconf create-suffix [SUFFIX]
Note that [SUFFIX] might be something like, dc=mycompany,dc=com or similar.
Finally, you may also want to look at the following URL for some more help with regard to installing Sun DSEE.
http://blogs.sun.com/toxophily/entry/dsee_tip_quick_start_installation