LemonLDAP::NG provides these packages:
If you run Debian stable, testing or unstable, the packages are directly installable:
apt-get install lemonldap-ng
Tip
Packages from Debian repository may not be up to date but are security-maintained by Debian Security Team for “stable” release and LTS team for “oldstable” release. Then if you don’t need some new features or aren’t concerned by a bug fixed earlier, this is a good choice. You can also use Debian backports or “testing”/”unstable” packages, team maintained. Here is the list of Debian versions.
Danger
LLNG Ubuntu packages are not in the “universe” but in the “multiverse”. This means they are not security-maintained. If you use them, you should follow our security advisories on lemonldap-ng-users@ow2.org.
You can add this repository to have recent packages.
First, make sure your system can install packages from HTTPS repositories:
apt install apt-transport-https
You will need to trust the following GPG key :
wget -O - https://lemonldap-ng.org/_media/rpm-gpg-key-ow2 | apt-key add -
Then, add the official LL::NG repository
vi /etc/apt/sources.list.d/lemonldap-ng.list
# LemonLDAP::NG repository
deb https://lemonldap-ng.org/deb stable main
deb-src https://lemonldap-ng.org/deb stable main
Tip
oldstable
repository to get packages from previous major
versiontesting
repository to get packages from next major
version2.0
repository to avoid upgrade to next major versionFinally update your APT cache:
apt update
Packages are available on the Download page.
Attention
By default packages will require Nginx. If you want to use Apache2, install it first with mod_perl:
apt install apache2 libapache2-mod-perl2 libapache2-mod-fcgid
apt install lemonldap-ng
Before installing the packages, install dependencies.
Then:
dpkg -i liblemonldap-ng-* lemonldap-ng*
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/* /var/lib/lemonldap-ng/conf/lmConf-1.json
If you upgraded LL::NG, check all upgrade notes.
Configure your DNS server to resolve names with your server IP:
Follow the next steps
You can also get the LemonLDAP::NG archive and make the package yourself:
tar xzf lemonldap-ng-*.tar.gz
cd lemonldap-ng-*
make debian-packages