ApacheDS Installation
April 20, 2009 at 6:50 pm | Posted in LDAP | Leave a commentTags: apache directory studio, apacheds, centos, LDAP
OS: CentOS 5.3 64 bit
ldap server: Apache Directory 1.5.4
ldap client: Apache Directory Studio 1.4.0
Requirements: Java 5.0+
Step 1: Download and install Java JDK if not installed. You can check your Java version with this command:
java -version
Output:
java version “1.5.0_18″
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_18-b02, mixed mode)
Step 2: Download Apache Directory Server 1.5.x
wget http://apache.securedservers.com/directory/apacheds/unstable/1.5/1.5.4/apacheds-1.5.4-x86_64.bin
Step 3: Add user executive bit to the downloaded file with this command:
chmod u+x apacheds-1.5.4-x86_64.bin
Step 4: Install Apache Directory Server.
./apacheds-1.5.4-x86_64.bin
Output:
….
Do you agree to the above license terms? [yes or no]
yes
….
Where do you want to install Apache DS? [Default: /opt/apacheds-1.5.4]
Press [return] key to accept the default.
Where do you want to install Apache DS instances? [Default: /var/lib/apacheds-1.5.4]
Press [return] key to accept the default.
What name do you want for the default instance? [Default: default]
Press [return] key to accept the default.
….
Apache DS has been installed successfully.
Step 5: Start Apache DS service.
/etc/init.d/apacheds-1.5.4-default start
Output:
Starting Apache Directory Server – default…
Step 6: Download Apache Directory Studio.
wget http://apache.mirrors.tds.net/directory/studio/stable/1.4.0.v20090407/ApacheDirectoryStudio-linux-x86_64-1.4.0.v20090407.tar.gz
Step 7: Unzip the downloaded file to “/opt” direcotry
tar -zxvf ApacheDirectoryStudio-linux-x86_64-1.4.0.v20090407.tar.gz -C /opt
Tip: Create a link to the directory for ease access.
ln -s /opt/ApacheDirectoryStudio-linux-x86_64-1.4.0.v20090407/ /opt/ads
Step 8: Start Apache Directory Studio.
/opt/ads/ApacheDirectoryStudio start
- Apache Directory Studio
Step 9: Connect to Apache Directory Server.
Connection name: apacheds (your choice)
Hostname: localhost (Apache Directory Server hostname)
port: 10389 (default port number for Apache Directory Server)
Bind DN or user: uid=admin,ou=system (pre-loaded data)
Bind password: secret
Leave a Comment »
RSS feed for comments on this post. TrackBack URI
Leave a Reply
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

