In the one CDC where we have had to set up a chat server, we used Openfire (and a big plus: they specifically support LDAP.) It was (eventually) a breeze to set up. We hosted it on an Ubuntu server running the Ubuntu desktop environment, because, let’s face it, who wants to work in a command line when there are nice pretty admin panels you can use in a GUI?
sudo apt-get install openjdk-7-jdk
wget -O openfire_3_9_1.tar.gz http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_3_9_1.tar.gz
tar -xzvf openfire_3_0_0.tar.gz
mv openfire /opt
Before we can run openfire, we need to edit ONE setting … This tells openfire where to look for your server.
sudo nano openfire.xml
We’re looking to add in our IP in between the “interface” tags ..
<interface>[YOUR IP HERE]</interface>
(You can grab your IP address by typing ifconfig in your terminal)
Cool! Save. Write. Quit. Now let’s start openfire ….
And from here we can run through the openfire setup through the web interface. You can get there by pointing your browser to https:// [YOUR IP]:9091