Get the tarball from download page. You can also find on this page the SVN tarball if you want to test latest features.
Attention
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.
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.
First check and install the prerequisites.
For full install:
cd lemonldap-ng-*
make configure
make
make test
sudo make install PROD=yes
Note
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:
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:
Tip
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.
LL::NG use cron jobs (or systemd timers) to:
To install them on system:
sudo ln -s /usr/local/lemonldap-ng/etc/cron.d/* /etc/cron.d/
or install .timers files in systemd directory (/lib/systemd/system)
Configure your DNS server to resolve names with your server IP:
Follow the next steps.