Installation from the tarball

Get the tarball

All tarballs can be downloaded from the OW2 forge: http://forge.objectweb.org/project/showfiles.php?group_id=274

If you want the last SVN snapshot, please choose: http://forge.objectweb.org/svnsnapshots/lemonldap-svn-latest.tar.gz

Warning: the contents of the SVN tarball are not the same as the official tarballs. 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 build directory:
$ cd trunk/build/lemonldap-ng


And run the "dist" target:
$ make dist


The generated tarball is in the current directory.

Extraction



Just run the tar command:
$ tar zxvf lemonldap-ng-*.tar.gz

Installation



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: