-
Notifications
You must be signed in to change notification settings - Fork 2
How to install
lammoth edited this page Dec 5, 2011
·
29 revisions
To install correctly the system, we come to suppose the following approach:
- MACHINE A: A computer with the XMPP server
- MACHINE B: A computer with Agents (this server contains LDAP)
- MACHINE C: A computer with client (The client also can be in the machine of agents and can be executed by a remote computer)
This machine must have installed the following software:
- Ejabberd (a XMPP server): The auth system can be setted to internal and/or LDAP
We must executed:
service ejabberd start
This machine must have installed the following software:
- OpenLDAP: In this system we will save data of the module LDAP
- python-ldap: A Python library to manage the LDAP operations (we supposed that Python is installed in the system)
- CouchDB: A NoSQL database to manage the module data
- MySQL: A relational database to manage the module data
We must copy the content of agent directory to this machine. Once done, we can executed this if we want executed the LDAP system module:
python agents/ldapagent.py
Now, the system is waiting a client petition to send a specific information
In this machine we come to install the web client, for it we need install the following software:
- Apache
- SleekXMPP: A client XMPP made in python. To install the last version: https://github.com/fritzy/SleekXMPP
To work correctly the client, we must configure correctly the BOSH system:
ProxyRequests Off
<Proxy *>
AddDefaultCharset off
Allow from all
</Proxy>
ProxyPass /http-bind http://127.0.0.1:5280/http-bind
ProxyPassReverse /http-bind http://127.0.0.1:5280/http-bind
If we access at the url, we can begin to work with system