Skip to content
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)

MACHINE A

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

MACHINE B

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

MACHINE C

In this machine we come to install the web client, for it we need install the following software:

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

Clone this wiki locally