Home / Server / Linux / IM Instant Messaging Server Installation using Openfire in Linux 7

IM Instant Messaging Server Installation using Openfire in Linux 7

Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It is also known as Jabber. It uses the only widely adopted open protocol for instant messaging (IM) XMPP. The full name of XMPP is Extensible Messaging and Presence Protocol. It is a real-time communication protocol (which includes chat) based on XML.

This tutorial will help to install and configure Instant Messaging (IM) server using openfire in Linux Machine. Openfire is an open source rpm package and it is used to install the spark server or instant messaging server. Spark software is used as a client to connect to the IM Server. It is also used as a corporate chat software. Spark server is mainly used for internal instant messaging in any corporate office. A Complete Installation and Configuration process is shown in Youtube Video which is added bottom of the post.

Installation and the management of Openfire is pretty simple. You need not edit database file any more. Because spark server uses embaded database file to configure itself. So anyone can easily install and configure instant messaging server. Follow the below steps carefully:

IM or Spark Server Network Info:

Server IP Address: 192.168.0.10

Domain Name: itzns.com

Hostname: spark.itzns.com

Need network configuration? Visit our another post – Network Configuration in Linux 6.5

1. Download and Install Openfire:

At first need to download the latest version of openfire rpm package from its official website. Or you can download rpm package from its FTP Server using wget command.

# wget  http://download.igniterealtime.org/openfire/openfire-4.1.4-1.x86_64.rpm

Install Openfire using rpm command:

# rpm  -ivh  openfire-4.1.4-1.x86_64.rpm

Start Openfire Service:

# systemctl  start  openfire

2. Configure Openfire:

Before configuring, you need to know which port openfire uses. By default openfire works on 9090 port. So you need to allow 9090 port in firewall using firewall-cmd command.

# firewall-cmd   --permanent   --add-port=9090/tcp

# firewall-cmd   --reload

Similarly, add 9091, 5222 and 5223 port in firewall.

Now, Connect your server on port 9090 using internet browser.

URL: http : //192.168.0.10:9090

It will open an configuration wizard and follow the few steps:

i. Choose Language:

This is the initial step of the server setup. Select your preferred language.

ii. Server Settings:

These are the network settings for this server setup. Type domain name, host name and click continue.

iii. Database Settings:

Choose how you would like to connect to the Openfire database. Select Embedded Database. This option requires no external database configuration and is an easy way to get up and running quickly.

iv. Profile Settings:

Choose “Default” as the user and group system to use with the server. Default is the simplest way to store users and groups in the server database.

v. Administrator Account:

Use this option to create administrator account using email address, username and password.

vi. Setup Complete!

This installation of Openfire is complete. To continue “Login to the admin console” using admin username and password.

3. Server Information:

In this section will show the Server Properties, Environment and Server Ports.  Server ports are very important for server connections. Please read carefully the descriptions of all ports specially port 6222 and port 6223. Need to enable these two ports on firewall in the time of user login using spark software.

vii. Create Users:

In this section need to create users using username, Name, Email and Password.

viii. Create Group:

Use the form to create a new group. After creating it, you will proceed to another screen. Where you can add members and set up group contact list.

4. Spark Download and Installation:

Spark as a client software that connects to the server. You can download spark software from its official website. Or Download directly from Spark 2.8.3 for Windows version.

After installing and login, you will be able to chat with online user perfectly.

5. Android Apps Download and Installation:

Xabber is a nice apps for spark usage in Android Mobile. It is easy to install and configuration. You can download and install it from google play store.

Quick download link Spark for Android Apps:

download

Xabber for Spark Login

Spark Login using Xabber Android App:

Video

Instant Messaging (IM) Server Installation & Configuration in Linux 7:

Video

*******************************************************************
Want more video tutorials !!!
——————————————————————————————————–
Please, subscribe my channel – Youtube Channel

Like Facebook Fan Page – IT Zone

Follow on Twitter – IT Zone

About Shyamal

Avatar of Shyamal
Shyamal is our resident tutorial master. He has years of experience with WordPress Platform and is a professional blogger with a special interest in Social Media, Internet Marketing and Web Design. Actually, he is also working on a IT Company as a System Administrator in the fields of Linux and Windows Server, System Administration and Networking.

Check Also

disable ipv6

How to Disable IPv6 on CentOS/RHEL 7

Post describes procedure to disable IPv6 on CentOS/RHEL 7. There are 2 ways to do …

One comment

  1. Avatar of Shyamal

    Hi, I am trying to use mobile but can not find apps. In this tutorial you told to install xabber apps but you do not post how to setup xabber to connect spark server.
    Please update your post to configure in xabber apps.

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisment ad adsense adlogger