Installing on Red Hat Enterprise Linux 6.x (RHEL)

A brief description on how to install it on RHEL

Important notes in advance:

RHEL packages



Python modules

Some required modules are not available as RHEL packages or the packages are too old (especially python-ldap).
So we proceed here with Python setup tools which automagically download and build the latest releases from PyPI repository.

easy_install python-netaddr
easy_install python-ldap
easy_install pyweblib
easy_install pyasn1
easy_install pyasn1_modules

Optional but useful modules

yum install python-imaging python-m2crypto
easy_install pydns
easy_install pyexcelerator

Grab web2ldap source and extract anywhere

wget http://www.web2ldap.de/download/web2ldap-version.tar.gz
tar xzf web2ldap-version.tar.gz
python2.6 web2ldap-version/sbin/checkinst.py
[..lots of output..watch for errors..]

Relax the IP restrictions by editing web2ldap-version/etc/web2ldap/web2ldapcnf/standalone.py

Start built-in HTTP server listening on all interfaces

python2.6 web2ldap-version/sbin/web2ldap.py -l 0.0.0.0:1760 -d off

Access it with your browser:

http://your-server-hostname-or-address-here:1760/web2ldap