Archive for the ‘jabber’ Category

JabberEs – mensajería instantánea libre

August 22, 2008


http://www.jabberes.org/

Clientes, servidores, recursos, de todo para jabber.

Erlang: un lenguaje ideal para plataforma abiertas de telecom

August 21, 2008

Lenguaje Erlang es un lenguaje de programación concurrente y un sistema de ejecución que incluye una máquina virtual y librerías.

El subconjunto de programación secuencial de Erlang es un lenguaje funcional, con evaluación estricta, asignación única, y tipado dinámico. Fue diseñado en la compañía Ericsson para realizar aplicaciones distribuidas, tolerantes a fallos, soft-real-time y de funcionamiento ininterrumpido. Proporciona el cambio en caliente de código de forma que éste se puede cambiar sin parar el sistema. Originalmente, Erlang, era un lenguaje propietario de Ericsson, pero fue cedido como open source en 1998.

La implementación de Ericsson es, principalmente interpretada pero también incluye un compilador HiPE (sólo soportado en algunas plataformas). La creación y gestión de procesos es trivial en Erlang, mientras que, en muchos lenguajes, los hilos se consideran un apartado complicado y propenso a errores. En Erlang toda concurrencia es explícita.

Erlang recibe el nombre de A. K. Erlang. A veces se piensa que el nombre es una abreviación de ERicsson LANGuage, debido a su uso intensivo en Ericsson. Según Bjarne Däcker quién fue el jefe del Computer Science Lab en su día, esta dualidad es intencional.

Hay varios proyectos de telecom que han sido creados con esta herramienta:

Ejabberd: servidor de mnesajeria instantanea programado en erlang

August 21, 2008

ejabberd es un servidor de mensajería instantánea de código abierto (GNU GPL) para plataformas Unix (BSD, GNU/Linux, etc), Microsoft Windows y otras. Para la comunicación instantánea se utiliza Jabber/XMPP. Está escrito principalmente en Erlang, es software concurrente y distribuido.

Alexey Shchepin fundó el proyecto en 2002 y continúa manteniéndolo. El nombre « ejabberd » significa « Erlang Jabber Demonio ». Se escribe en letras minúsculas solamente, que es uso común en el mundo de Unix. El objetivo del proyecto ejabberd es la creación de un servidor Jabber/XMPP estable y con variedad de posibilidades.

Pagina web: http://www.ejabberd.im/

Como probar un servidor jabber en live cd

March 2, 2008

Con eBox live cd es psoible tener jabber server, aparte de otros añadidos.

http://www.ebox-platform.com/features

Jabber

March 1, 2008

Jabber es un protocolo libre para mensajería instantánea, basado en el estándar XML y gestionado por XMPP Standards Foundation. La red de Jabber está formada por miles de grandes y pequeños servidores en todo el mundo, interconectados por Internet. Habitualmente la red es utilizada por alrededor de un millón de personas.

Es el proyecto más aceptado como la alternativa libre al sistema MSN Messenger de Microsoft, al AOL o al Yahoo Messenger. Aunque es un protocolo bastante minoritario, está creciendo más cada día, gracias a los usuarios y a Google , que ha creado un cliente de mensajería instantánea que utiliza Jabber, Google Talk.


Installing the Jabber Server

Cualquiera puede instalar un jabber server, aqui hay una pagina web que enseña lo basico de como hacerlo: http://www.openp2p.com/pub/a/p2p/2002/01/18/jabber_chapter3.html

The Jabber server package can be obtained from the Jabber project site, http://www.jabber.org; the 1.4.1 version is available in the downloads area:

http://download.jabber.org/dists/1.4/final/jabber-1.4.1.tar.gz

The tarball jabber-1.4.1.tar.gz contains everything that you need to get a Jabber server up and running.[2] Previous versions of the Jabber server came in multiple packages; it was necessary to separately obtain and install GNU’s portable threads library (pth) and the asynchronous DNS package (ADNS), as well as obtaining and installing various Jabber-specific libraries such as libxode, libjabber, and libetherx. Now some of these libraries and packages have become obsolete as far as the Jabber server is concerned (ADNS and libetherx) and others have been combined into the main Jabber server tarball.

If you don’t want to compile the server yourself, you can also download prebuilt binaries for some of the platforms already mentioned, from http://download.jabber.org.

Installing the Server

Once you have downloaded the Jabber server tarball, you need to unpack it, configure the build environment, and compile the server. The general idea is that the Jabber server will be compiled and run from wherever you decide to unpack it; that is, there is no separate “install” step.

For this reason, and because it’s also often useful to be able to install and start up a different version of the Jabber server for testing and comparisons, create a generic jabber directory somewhere central but local, for example in /usr/local/:

yak:/usr/local# mkdir jabber

The Jabber server does not need to be and should not be run as root; so create a new user jabber(group jabber) to be used as the Jabber server administrator and make that user the owner of the generic Jabber server directory:


yak:/usr/local# groupadd jabber
yak:/usr/local# useradd -g jabber -d /usr/local/jabber jabber
yak:/usr/local# passwd jabber
Changing password for jabber
Enter the new password (minimum of 5, maximum of 127 characters)
Please use a combination of upper and lower case letters and numbers.
New password: ********
Re-enter new password: ********
Password changed.
yak:/usr/local# chown jabber:jabber jabber
yak:/usr/local#

Once you’ve created the generic Jabber server directory, switch to the new Jabber server administration user jabber, unpack the tarball you downloaded, and enter the resulting directory:


yak:/usr/local# su - jabber
yak:~$ tar xzf jabber-1.4.1.tar.gz
yak:~$ cd jabber-1.4.1/
yak:~/jabber-1.4.1$

Running the Configure Server

Examining the contents of the jabber-1.4.1 directory, we see the following files:

  • configure (the configuration script)

  • jabber.xml (the server configuration file)

  • Makefile (for compiling the Jabber server)

  • README (some basic instructions)

  • UPGRADE (information on upgrading from an earlier server version)

as well as a number of directories that contain the source code.

The first step is to run the configure script:


yak:~/jabber-1.4.1$ ./configure

to determine your platform’s compiler settings.

If you want SSL support in the Jabber server, run the script with the – -enable-ssl switch:


yak:~/jabber-1.4.1$ ./configure --enable-ssl

If you specified the – -enable-ssl switch, the configure script looks for your SSL installation and adds the appropriate compiler flags. If it doesn’t find your SSL installation, it says so and your Jabber server is compiled withoutSSL support.

Next, it will try to determine whether you have pth installed and if so will use the pth-config command to glean the extra compiler options for building the Jabber server. pth is required, so if it isn'talready installed, it will be set up within your current jabber-1.4.1 directory tree (as pth is included in the jabber-1.4.1.tar.gz tarball) and the appropriate compiler options added.

If pth is set up during the course of running configure, you may see a message: “Now please type 'make' to compile. Good luck.“, which comes at the end of the pth configure procedure; you can ignore this because there is only one make step, for the Jabber server, that must be carried out as we are merely preparing the pth build environment for binding into the Jabber Server build.

Finally, after extra platform-specific compiler settings are determined, a shell script to set the build environment variables is created with the name platform-settings. This is used in the next step.

Example 3-1 shows typical output from the configure script.

Example 3-1. Typical output from configure


Running Jabber Configure
========================

Getting pth settings... Done.
Setting Build Parameters... Done.
Generating Settings Script... Done.

You may now type 'make' to build your new Jabber systcode.


Follow

Get every new post delivered to your Inbox.