Search This Blog

Monday, December 3, 2012

Download and Install Apache DS LDAP Server on Ubuntu 12.04

In this post, we will walk through step by step, the download and installation of LDAP Server on Ubuntu. I have selected ApacheDS for this task.

I will walk through installing Apache Directory Server 1.5.7 on Ubuntu 12.04 machine. ApacheDS assumes that you already have a JRE installed on your machine. I am assuming that this is the case for you as well.

To install Apache Directory Server, first open a browser and naviagte to

Here, we see two projects. First is ApacheDS and other is Apache Directory Studio. We are going to install ApacheDS. I accessed the link to install the latest stable version ApacheDS 1.5

I clicked on the link to Download Linux Debian DEB Installer. Turns out the link is pointing incorrectly to 2.0 builds. If this is the case for you as well, make sure you are accessing the 1.5 page.

Click on the link to access Linux x86_64 version. Access the downloaded version on the page in the download folder.

Now, right click on the file to install it using Ubuntu software center. This will launch the Ubuntu Software Center as shown below.

Click on the Install button shown on the right. It will prompt you to enter your password as shown below.

Once the installation is complete, close the Ubuntu Software Center.

Open a terminal window, and type the following

> ls /etc/init.d/apacheds*

You should see the daemon process having been created. Now, if you want to check if it is already running, enter the following command in the command line.

> sudo /etc/init.d/apacheds-1.5.7-default status

You should be able to see if it is running as follows

That's it folks. In the next post, we will see how to access Apache DS from the Studio software. Here we will see how to connect to the just installed Apache Directory Server as well as how to change the default password.

No comments: