Archive for Featured

12 Sep 2010

Installing and Configuring Xmpp Server ejabberd and Pidgin as XMPP client

No Comments Featured, Linux, Tips & Hints, Windows

Sometimes you need a LAN chat server. An interesting option is ejabberd with support for file transfers, multi-platform clients and servers, and of course free and as a bonus open-source.

ejabberd logo

ejabberd xmpp server

The program can be found in http://www.ejabberd.im/ .

Installing ejabberd

Linux

Download the latest binary at (http://www.process-one.net/en/ejabberd/downloads/) , simply unzip and run the binary, where you can simply enter the server name and what is the admin user and password.

Windows

Download the ejabberd in http://www.process-one.net/en/ejabberd/downloads/

Once unzipped, run the installer and follow the following steps:

  1. choose the language;
  2. choose “I accept the agreement”;
  3. do not change the “Installation Directory”;
  4. choose a name for your “SERVER DOMAIN”. Eg talk_server;
  5. leave the “Administrator user name” as “admin”;
  6. choose a password;
  7. On the question “Will this node be  part of a cluster?” let marked “No”;
  8. go ahead and finish the installation.

Ejabberd installation creates a shortcut called “Start ejabberd. Run it to launch it.

obs.: After booting the ejabberd will open a web page that will contain a link “admin interface”. By clicking it you will be prompted to login. To login, enter the user as admin @ talk_server.

obs2: maybe it is going to be necessary, to run the posinstall bat , like this:

postinstall.bat adminusername hostname password

due to some problems on the creation of the database items.

Configuring Pidgin

Using Pidgin as an ejabberd client:

Create a new account in Pidgin:

In the tab “Basic”

  • Protocol: choose the XMPP;
  • Username: place the new user’s name;
  • Domain: enter the domain name that was chosen during the installation of ejabberd. In our case “talk_server” (without the quotes);
  • Password: Choose a password;

In tab “Advanced”

  • Server connection: put the IP of your computer where you installed ejabberd;
  • check the “Create this new account on the server”;
  • Click “Save”;
  • login.

Restart the program and enter your Pidgin user who just created.

Based on tutorials, by

Murilo de Brito Valadares and Fernando Ebrahim, and also on the ejabberd.im Community Site


WP SlimStat