This is an old revision of the document!
Install JRE
sudo apt-get install openjdk-7-jre
Get the newest version from
http://www.igniterealtime.org/downloads/and download it with wget
wget http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_4_0_1.tar.gzor download it and move it to the server via scp.
Extract
tar -xvzf openfire_4_0_1.tar.gzand move to /usr/local/openfire
mv openfire /usr/local/
Open the configfile
vi /usr/local/openfire/conf/openfire.xmlremove the comment for network and insert your
<network> <interface>server ip here</interface> </network>