install java:

sudo aptitude install openjdk-6-jre

install openfire:

wget http://download.igniterealtime.org/openfire/openfire_3.8.2_all.deb
sudo dpkg -i openfire_3.8.2_all.deb

JAVA_HOME bugfix:

add to top in /etc/init.d/openfire:

JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")

configure:

start daemon

sudo /etc/init.d/openfire start

open 127.0.0.1:9090 in browser and follow instructions

reboot && enjoy