Installation on SLES/OpenSuSE
Here is a complete procedure to install LemonLDAP::NG on SLES or OpenSuSE systems. You will find a shell script in attachements. Thanks to Claude Durocher for this documentation.- Installation of Apache and mod_perl
- Repositories
- Install perl scripts
- Install lemonldap-ng modules
- Install optional perl scripts
- Start Apache
Installation of Apache and mod_perl
# zypper install apache2 apache2-mod_perl
Enable mod_perl:
# a2enmod mod_perl
Repositories
Add std SuSE repos for perl scripts (these are SLES11 repos; for OpenSuSE replace "SLE_11" by "openSUSE_11.1")
# zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11 perl/SLE_11 # zypper addrepo http://download.opensuse.org/repositories/XML/SLE_11 XML/SLE_11
# zypper addrepo http://download.opensuse.org/repositories/home:/clauded1:/LemondLDAP-NG/SLE_11 LemondLDAP-NG/SLE_11
Install perl scripts
# zypper install perl-Cache-Cache perl-Apache-AuthNetLDAP perl-HTML-Template perl-Apache-Session perl-CGI perl-CGI-Session perl-IO-String
# zypper install perl-XML-LibXSLT
# zypper install perl-SOAP-Lite perl-Crypt-Rijndael perl-Regexp-Assemble
Install lemonldap-ng modules
# zypper install perl-Lemonldap-NG-Portal perl-Lemonldap-NG-Manager perl-Lemonldap-NG-Handler perl-Lemonldap-NG-Common # zypper install lemonldap-ng-portal lemonldap-ng-manager lemonldap-ng-handler # zypper install lemonldap-ng-conf lemonldap-ng-doc lemonldap-ng-test # zypper install lemonldap-ng
Install optional perl scripts
# zypper install perl-String-Random perl-MIME-Lite perl-Email-Date-Format
Start Apache
# rcapache2 restart