Note that this installation description is for release 1.5.112!
- This simple install receipt requires that the machine has Internet (proxy) access to load packages from PyPI repository.
- Some C wrapper modules have to be compiled. So you have to install a C compiler and build tools for your particular OS.
- Also look for the Dockerfile in the source distribution for automated installation into container running openSUSE Tumbleweed.
Install in a Python virtual environment:
python3 -m venv /opt/web2ldap /opt/web2ldap/bin/pip3 install --find-links https://www.web2ldap.de/download.html web2ldap
Start simple stand-alone web server by default listening on localhost, port 1760:
/opt/web2ldap/bin/web2ldap 127.0.0.1 1760
For remote access to this stand-alone instance you have to explicitly
allow access from remote IP addresses by editing configuration option
For serious use you should use a HTTPS-enabled web server as frontend.
in source distribution for web server integration examples.
If you've customized web2ldap configuration backup your local config changes first:
cp -av /opt/web2ldap/etc/web2ldap /path/to/backupdir/
Then install the web2ldap upgrade (without necessarily upgrading other modules) like this:
/opt/web2ldap/bin/pip3 install --upgrade --upgrade-strategy only-if-needed --find-links https://www.web2ldap.de/download.html web2ldap
Restore your customized web2ldap configuration e.g. from backup or via config management.