How to Install Openfire on Ubuntu 14.04

Michael Douse
by (9posts) under Cloud Hosting
0 Comments

Verified and Tested 12/30/15

Introduction

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.

Prerequisites

– 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.

Getting Ready

Before we begin, update the repo metadata with the following command:

apt-get update

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.


How to install Openfire #1


Once you have the file downloaded to your workstation, upload it to the cloud server 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:

http://YOUR-SERVER-IP:9090/setup/index.jsp

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.


How to install Openfire #2


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.


How to install Openfire #3


Choose an email address for the Administrator account and set a strong password.


How to install Openfire #4How to install Openfire #5


 

That’s it! Now log in to the admin console with the username “admin” and the password you chose.


How to install Openfire #6


To access the console in the future, simply login via the following URL:

http://YOUR-SERVER-IP:9090/login.jsp

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.


Related Posts


Free Consultation

Are you searching for a solution to tackle a unique strategic challenge, but unsure where to start?

Atlantic.Net can assist your organization in developing a customized hosting plan from design to implementation.

Get Free Consultation Today!

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

Resources