Installation on RedHat/CentOS

RPMs organization

LemonLDAP::NG provides many RPMs : This schema shows the dependencies between modules:

lemonldap-ng-packages.png

Get the packages

For now, RPMS are only available in the download section of lemonldap project on OW2 forge. The first RPMS came with version 0.9.3.

Build your packages



Download the source RPM, and install it:

# rpm -Uvh lemonldap-ng-VERSION-RELEASE.DIST.src.rpm


Rebuild:

# rpmbuild -ba /usr/src/redhat/SPECS/lemonldap-ng.spec

Install packages with yum



If the packages are stored in a yum repository:

# yum install lemonldap-ng

Install packages with rpm



Before installing the packages, install dependencies.

You have then to install all the downloaded packages:
# rpm -Uvh lemonldap-ng-* perl-Lemonldap-NG-*

Install just one component



You can choose to install only one component by choosing the package lemonldap-ng-portal, lemonldap-ng-handler or lemonldap-ng-manager. Install the package lemonldap-ng-conf only on the server which stores configuration.

File location

Change default DNS domain



By default, DNS domain is "example.com". You can change it quick with a sed command. For example, we change it to ow2.org:

# sed -i 's/example.com/ow2.org/g' /etc/lemonldap-ng/apache2.conf /etc/lemonldap-ng/apps-list.xml /var/lib/lemonldap-ng/conf/lmConf-1 /etc/lemonldap-ng/apply.conf /var/lib/lemonldap-ng/test/index.pl