Installation on Debian/Ubuntu with packages
- Get the packages
- Build your package
- Install packages with apt-get
- Install packages with dpkg
- File location
- Change default DNS domain
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.
Then:
# dpkg -i liblemonldap-ng-* lemonldap-ng*
File location
- Configuration is in /etc/lemonldap-ng
- LemonLDAP::NG configuration (edited by the Manager) is in /var/lib/lemonldap-ng/conf/
- All Perl modules are in the VENDOR perl directory
- All Perl scripts/pages are in /var/lib/lemonldap-ng/
- All static content (examples, CSS, images, etc.) is in /usr/share/lemonldap-ng/
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