Installation on Debian/Ubuntu with packages
- Get the packages
- Build your package
- Install packages with apt-get
- Install packages with dpkg
- File location
Get the packages
If you run Debian lenny (testing) or sid (unstable), the LemonLDAP::NG packages are directly installable:# apt-cache search lemonldap-ng
Else you will have to download them first, from this location: http://packages.debian.org/search?keywords=lemonldap-ng.
For example:
# wget http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/lemonldap-ng_0.9.2-1_all.deb # wget http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-conf-perl_0.9.2-1_all.deb # wget http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-portal-perl_0.9.2-1_all.deb # wget http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-handler-perl_0.9.2-1_all.deb # wget http://ftp.de.debian.org/debian/pool/main/l/lemonldap-ng/liblemonldap-ng-manager-perl_0.9.2-1_all.deb
deb http://lemonldap.objectweb.org/NG/debian testing/ deb-src http://lemonldap.objectweb.org/NG/debian testing/
Build your package
You can also get the LemonLDAP::NG archive (see dowload section) and make the package yourself:$ tar xzf lemonldap-ng-*.tar.gz $ cd lemonldap-ng-* $ debuild
Install packages with apt-get
# apt-get install apache2 lemonldap-ng
Install packages with dpkg
Before installing the packages, install dependencies with apt-get:
# apt-get install apache2 libapache2-mod-perl2 libapache-session-perl libnet-ldap-perl libcache-cache-perl libdbi-perl perl-modules libwww-perl libcache-cache-perl libxml-simple-perl libsoap-lite-perl libhtml-template-perl
Then:
# dpkg -i liblemonldap-ng-* lemonldap-ng*
File location
- All configuration is in /etc/lemonldap-ng
- All Perl modules are in /usr/share/perl5/Lemonldap/NG/
- All Perl scripts/pages are in /var/lib/lemonldap-ng/