Verified and Tested 12/30/15
Ever wanted to run your own private chat service, either for business or personal use? Openfire is a fantastic open source XMPP instant messaging server that will allow you to do just that.
– You will need a server with root privileges. If you do not have a server already, you can spin up one of our industry-leading Cloud servers in under 30 seconds.
Before we begin, update the repo metadata with the following command:
Openfire has one dependency, Java Runtime Environment. Run the following to install:
apt-get install openjdk-7-jre
Installing Openfire on Ubuntu 14.04
Head over to the Openfire download page. You will want to download the Debian specific package.
Once you have the file downloaded to your workstation, upload it to the VPS using an SFTP client of your choice. Some good examples are FileZilla and WinSCP. For more information on uploading files via SFTP, click HERE.
To install the newly uploaded openfire package, use the following command:
dpkg -i openfire_3.10.3_all.deb
Now open your web browser and begin the web-based setup wizard by going to the following URL, substituting your server IP address:
Follow the guided setup to complete the install of Openfire. Most of the values can be left as default unless your situation calls for it.
For the sake of simplicity, under Database Settings choose “Embedded Database“. This is the easiest and fastest way to get up and running. If you are running an external database, choose “Standard Database Connection” and input your database connection parameters.
Choose an email address for the Administrator account and set a strong password.
That’s it! Now log in to the admin console with the username “admin” and the password you chose.
To access the console in the future, simply login via the following URL:
Now you can create a chat room and connect to it with your favorite XMPP chat client. Enjoy! Please check back here for more updates or check out our related how-to’s below.