Table of Contents

Installation from the tarball

Get the tarball

Get the tarball from download page. You can also find on this page the SVN tarball if you want to test latest features.

The content of the SVN tarball is not the same as the official tarball. Please see the next chapter to learn how build an official tarball from SVN files.

Build the tarball from SVN

Either checkout or export the SVN repository, or extract the SVN tarball to get the SVN files on your disk.

Then go to trunk directory:

cd trunk

And run the “dist” target:

make dist

The generated tarball is in the current directory.


Just run the tar command:

tar zxvf lemonldap-ng-*.tar.gz


First check and install the prerequisites.

For full install:

cd lemonldap-ng-*
make configure
make test
sudo make install PROD=yes
PROD=yes makes web interface use minified versions of CSS and JS files.

You can modify location of default storage configuration file in configure target:

sudo make configure STORAGECONFFILE=/etc/lemonldap-ng/lemonldap-ng.ini

You can choose other Makefile targets:

You can also pass parameters to the make install command, with this syntax:

sudo make install PARAM=VALUE PARAM=VALUE ...

Available parameters are:

For Debian/Ubuntu with Apache2, you can use:
make debian-install-for-apache
make ubuntu-install-for-apache

And with Nginx:

make debian-install-for-nginx
make ubuntu-install-for-nginx

See also Debian/Ubuntu installation documentation.

Install cron jobs

LL::NG use cron jobs to:

To install them on system:

sudo ln -s /usr/local/lemonldap-ng/etc/cron.d/* /etc/cron.d/


Configure your DNS server to resolve names with your server IP:

Follow the next steps.