WebReference.com - Chapter 3 of Programming Jabber, from O'Reilly & Associates | WebReference

WebReference.com - Chapter 3 of Programming Jabber, from O'Reilly & Associates

Programming Jabber

Programming Jabber Book Cover

Chapter 3: Installing the Jabber Server

The series of excerpts below are from Chapter 3 of the O'Reilly & Associates title, Programming Jabber.

This chapter explains what you have to do to obtain, install, configure, and start up a Jabber server of your own with the minimum of fuss.

It's certainly possible to learn about the Jabber protocols and technology and develop solutions using someone else's Jabber server, but for real understanding and control, it's definitely worth setting up one of your own. By installing and configuring a Jabber server, you will gain a valuable insight into how it and its components work together. Understanding how components are controlled and configured allows us to build Jabber solutions in the context of the "big picture."

Installations of earlier versions (1.0, 1.2) of the Jabber server were often complex affairs, and while the installation process has become much more straightforward, some people still shrink back from installing and configuring their own. This chapter shows how straightforward it is.

If you already have a server set up, you might want to skip this chapter and go on to Chapter 4, where the configuration and system architecture are explained in more detail.

Although the Jabber development platform is Linux, the Jabber server will compile and run on many flavors of Unix, including FreeBSD, Solaris, AIX, and IRIX.[1] Versions of the C compiler and make utility from the GNU project (at http://www.gnu.org) are recommended if you don't already have them installed.

The examples shown in this and other chapters are taken from Linux platforms (various Slackware and Red Hat distributions with 2.2 and 2.4 kernel versions); consult your local documentation for equivalent commands on your Unix OS.

The incarnation of the Jabber server at the time of writing is Version 1.4, more specifically 1.4.1. Version 1.4 represents a major advance in the server code and brings increases in performance and reliability over earlier versions. Jabber server Version 1.4.1 is the one we will obtain and install here, and this will be used as the server for the recipes in the rest of this book.


1.In fact, the next patch level version of the Jabber server, 1.4.2, which is available already, has the modifications necessary for it to be compilable under Mac OS X.

Created: January 14, 2002
Revised: January 22, 2002

URL: http://webreference.com/programming/jabber/chap3/