A.2. Installing OpenSSL for Jabberd 2

Jabberd 2 requires that OpenSSL (version 0.9.6b or higher) be installed prior to installing Jabberd 2. This appendix describes how to download the OpenSSL source in order to build and install it for Jabberd 2.

A.2.1. Download OpenSSL Installation File

Download the file openssl-0.9.nz.tar.gz from the OpenSSL site, where "nz" is the latest stable version of OpenSSL. At the time of writing, OpenSSL 0.9.7b' is the most current OpenSSL version and is used in the examples below.

Note that the file above contains encryption software. Follow your local laws if you download it.

A.2.2. Extract OpenSSL Installation Files

Change to the directory where you downloaded the file and then extract the OpenSSL files by running the command:

      tar -zxvf openssl-0.9.7b.tar.gz 

A.2.3. Build OpenSSL

Change to the OpenSSL directory just created:

      cd openssl-0.9.7b

Configure OpenSSL for your system:

      ./config --prefix=/usr

By default, OpenSSL installs to /usr/local/openssl. Using the --prefix=/usr option causes the OpenSSL libraries to be installed to the /usr directory. Using this option makes OpenSSL more accessible not only to Jabber, but also to other applications. The shared option causes the build to create shared libraries. Read the INSTALL file if you are in doubt about options for your system.

Build OpenSSL on your system:

      make

You can test your OpenSSL build if you wish:

      make test

There should be no errors in the output.

A.2.4. Install OpenSSL

Switch to the super-user:

      su

Install OpenSSL on your system:

      make install
    OpenSSL installation is now complete — unless the 'make install' output shows errors.  If you receive errors, refer to documentation on the "OpenSSL":http://www.openssl.org/ site.  

Up

© 2003 Will Kamishlian and Robert Norris

This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

Creative Commons License