Sunday, September 20, 2009

Installing ApacheDS on Unbuntu

Environment
  • Ubuntu - Jaunty Jackalope
  • 64 bit Architecture
Right now the "Basic User Guide" in the ApacheDS site is not up-to-date. So here is how to install ApacheDS on Ubuntu
  1. Download the "Linux Binary Installer - Linux x86_64" of ApacheDS from http://directory.apache.org/apacheds/1.5/download/download-linux-bin.html.
  2. Change the permissions of the file as follows.
     chmod u+x apacheds-1.5.5-x86_64.bin
  3. Change to root and run the installer as follows. I picked the default proposed installation directories.
    ./apacheds-1.5.5-x86_64.bin
  4. Now the task is to locate the "startp script". If you picked the defaults while installing, it can be found in the /etc/init.d directory. Search for a file containing the name *apacheds*. In my case the start-up script was renamed as "apacheds-1.5.5-default". Now give the command as following as root.

    /etc/init.d/apacheds-1.5.5-default start

Initially when I tried to install, I faced the following problem since the start-up script was renamed to "apacheds-1.5.5-default". This trivial information was lacking in the "Apache DS Basic User Guide".
/etc/init.d/apacheds: No such file or directory

1 comment:

Christian Sterzl said...

There is a deb-package for ubuntu and debian. The installation is described here:

http://wiki.v-collaborate.com/display/BLOG/2010/12/10/Install+Apache+DS+1.5.7+on+ubuntu+and+debian