if you have shell access to your linux server, then it should be really straight forward. The openfire installation tutorials are fantastic and the openfire team have done an amazing job of making it really simple to setup.
The biggest challenge you may be having is how to get the openfire package onto your server, so that you can install it. Without a GUI, it’s slightly different.
I don’t know if your server is debian based or rhel based, so I’ll give basic instructions for both:
Debian Based (Ubuntu, etc):
sudo apt-get install openjdk-7-jre wget
wget http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3.8.2_a ll.deb
sudo dpkg -i openfire_3.8.2_all.deb
RHEL Based (Red Hat Enterprise Linux, CentOS, Fedora, openSUSE kind of, etc)
sudo yum install openjdk-7-jre wget
wget http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire-3.8.2-1 .i386.rpm
sudo rpm -ivh openfire-3.8.2-1.i386.rpm
Now follow the rest of this tutorial:
**I think that’s the basic gist… good luck.