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

%_topdir /home/user/build
%dist .el5
%rhel 5

Package GPG signature



The GPG key can be downloaded here: http://wiki.lemonldap.ow2.org/xwiki/bin/download/NG/DocInstallRedHatPackages/RPM-GPG-KEY-OW2

Install it to trust RPMs:

# rpm --import http://wiki.lemonldap.ow2.org/xwiki/bin/download/NG/DocInstallRedHatPackages/RPM-GPG-KEY-OW2

Install packages with yum



If the packages are stored in a yum repository:

# yum install lemonldap-ng


You can also use yum on local RPMs file, to manage dependencies:
# yum install lemonldap-ng-* perl-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