Home > Articles > Operating Systems, Server > Linux/UNIX/Open Source

  • Print
  • + Share This
From the author of

Installing an LDAP Server in Ubuntu Linux

To install an LDAP server, run the following command:

sudo apt-get install slapd

The installer will suggest the deployment of a few ancillary packages (slpd, openslp-doc, and ldap-utils). Just accept the default settings. Remember, your virtual Linux machine must have Internet access for the above command to succeed. This is because the required packages are all retrieved from the us.archive.ubuntu repository. The above command takes a few minutes to complete and, assuming it succeeds, the next command to run is:

sudo apt-get install ldap-utils

If you prefer, this command can be run at the same time as the previous one with the following syntax:

sudo apt-get install slapd ldap-utils

I'm doing it step-by-step, but you can do it all at once if you prefer. In any case, the ldap-utils option installs the ldapsearch facility. Don't forget that your virtual machine must, in general, be configured for Internet access when you run the any of the apt-get install commands.

  • + Share This
  • 🔖 Save To Your Account