Get the tarball from download page. You can also find on this page the SVN tarball if you want to test latest features.
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 make configure make test sudo make install
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:
make debian-install
or:
make ubuntu-install
See also Debian/Ubuntu installation documentation.
By default, Apache configuration files will be installed in /usr/local/lemonldap-ng/etc/
. You have to include them in Apache main configuration, for example:
include /usr/local/lemonldap-ng/etc/portal-apache2.conf include /usr/local/lemonldap-ng/etc/handler-apache2.conf include /usr/local/lemonldap-ng/etc/manager-apache2.conf include /usr/local/lemonldap-ng/etc/test-apache2.conf
conf.d
Apache directory.a2ensite manager-apache2.conf a2ensite portal-apache2.conf a2ensite handler-apache2.conf a2ensite test-apache2.conf
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.
cat /usr/local/lemonldap-ng/etc/lemonldap-ng/for_etc_hosts >> /etc/hosts
Follow the next steps.