Setup XMPP Openfire ubuntu

Setup instructions
https://library.linode.com/communications/xmpp/openfire/debian-6-squeeze

Web based client:
Here how to get it working on a Debian/Ubuntu server
Make sure you have HTTP Binding Enabled: from web panel go to Server Settings -> HTTP Binding -> Enabled – Clients can connect to this server using HTTP binding
Create /usr/share/openfire/resources/spank directory and copy the content of the sparkweb zip file
Next change permission:
$ chown -R openfire.openfire /usr/share/openfire/resources/spank

$ chmod -R 750 /usr/share/openfire/resources/spank
Now, restart server with
$ /etc/init.d/openfire restart
and open your web browser to http://your_server_ip:7070/webchat

resources:
http://community.igniterealtime.org/docs/DOC-2109#comment-6568