LemonLDAP::NG provides these packages:
If you run Debian testing or unstable, the packages are directly installable:
apt-cache search lemonldap-ng
You can add this repository to have recent packages:
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
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 versionYou may need to install this package to access HTTPS repositories:
apt install apt-transport-https
Packages are available on the Download page.
The GPG key can be downloaded here: rpm-gpg-key-ow2
Install it to trust packages:
wget -O - https://lemonldap-ng.org/_media/rpm-gpg-key-ow2 | apt-key add -
Update cache:
apt update
apt install 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 /var/lib/lemonldap-ng/test/index.pl
To allow the manager to reload the configuration, register the reload virtual host name in the hosts of the server:
echo "127.0.0.1 reload.example.com" >> /etc/hosts
If you upgraded LL::NG, check all upgrade notes.
Configure your DNS server to resolve names with your server IP.
example.com
, launch the following :
cat /etc/lemonldap-ng/for_etc_hosts >> /etc/hosts
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