Install Openfire on Debian Lenny

2009-03-25 17:22:00 by Saz

If you're looking for a good jabber/XMPP server with LDAP/Active Directory integration. Have a look at Openfire. It's working really great and you can push contacts to your clients. No need for adding every employee of your company on your users client. I've installed Openfire on Debian Lenny. Here is a short description, of what you have to do.

  1. Enable non-free sources.list

You have to add the non-free repository to your /etc/apt/sources.list, because you have to install sun-java6-jre (You can also use sun-java5-jre, but on my freshly installed Lenny, sun-java6-jre has less dependencies).

Here is my /etc/apt/sources.list:

#
# lenny
#
deb     http://ftp-stud.fht-esslingen.de/debian/     lenny main contrib non-free
deb-src http://ftp-stud.fht-esslingen.de/debian/     lenny main contrib non-free

#
#  Security updates
#
deb     http://security.debian.org/ lenny/updates  main contrib non-free
deb-src http://security.debian.org/ lenny/updates  main contrib non-free

After adding the non-free repository, run apt-get update.

  1. Install SUN Java 6 JRE
apt-get install sun-java6-jre
  1. Download latest version of Openfire as .deb

You can find more information about versions here.

wget http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3.6.3_all.deb
  1. Install Openfire
dpkg -i openfire_3.6.3_all.deb
  1. Fixing missing LSB information (not required)

During installation of the Openfire packet, update-rc.d is reporting, that LSB information is missing from init-script. As I don't like such warnings, I've created a patch for adding the LSB information.

Note: You need the patch program installed (apt-get install patch).

patch -p0 < openfire_363_fix_missing_lsb_information.patch

I will soon write an article about configuring Openfire for Active Directory connection.


Comments

Fork me on GitHub