Home » Centos/RHEL » Openfire XMPP installation and configuration on linux centos/RHEL

Openfire XMPP installation and configuration on linux centos/RHEL

Openfire is a more powerful open source instant messaging (IM) and chat server that implements the XMPP protocol. it uses the XMPP protocol provide the a web interface for manage users and other related funcations. It is easy to setup and configure, but has a high level of security and performance. It runs using Java.This article will guide you installing Openfire XMPP on linux server.

Application Prerequesties
Operating System

Openfire server
Spark client
libldb.i686 library for 64Bit OS.

Install Openfire on Centos/RHEL
[root@linuxpcfix root]# wget http://download.igniterealtime.org/openfire/openfire-3.9.3-1.i386.rpm
–2014-10-03 23:44:18– http://download.igniterealtime.org/openfire/openfire-3.9.3-1.i386.rpm
Resolving download.igniterealtime.org… 54.230.117.102, 54.230.118.115, 54.230.119.85, …
Connecting to download.igniterealtime.org|54.230.117.102|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 70513157 (67M) [application/x-rpm]
Saving to: “openfire-3.9.3-1.i386.rpm”100%[============================================================================================>] 70,513,157 5.41M/s in 11s2014-10-03 23:44:30 (5.98 MB/s) – “openfire-3.9.3-1.i386.rpm” saved [70513157/70513157][root@linuxpcfix root]# rpm -ivh openfire-3.9.3-1.i386.rpm
Preparing… ########################################### [100%]
1:openfire ########################################### [100%]
[root@linuxpcfix root]# yum install libldb.i686
Install Openfire on Ubuntu

[root@linuxpcfix root]#wget http://download.igniterealtime.org/openfire/openfire_3.9.3_all.deb

–06:50:08– http://download.igniterealtime.org/openfire/openfire_3.9.3_all.deb
=> `openfire_3.9.3_all.deb’
Resolving download.igniterealtime.org… 54.230.117.225, 54.230.119.219, 54.230.119.138, …
Connecting to download.igniterealtime.org|54.230.117.225|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 15,016,412 (14M) [binary/octet-stream]

100%[==========================================================================================>] 15,016,412 4.35M/s ETA 00:00

06:50:12 (4.33 MB/s) – `openfire_3.9.3_all.deb’ saved [15016412/15016412]
[root@linuxpcfix root]# dpkg –i openfire_3.9.3_all.deb

[root@linuxpcfix root]#yum install mysql mysql-server
[root@linuxpcfix root]#service mysqld restart
[root@linuxpcfix root]#yum install java

Once installation successfully completed start the openfire server

[root@linuxpcfix root]#service openfire start
[root@linuxpcfix root]#chkconfig openfire on

After that open your preferred browser and put url as “http://your-domainORyour-server-ip:9090” and follow the browser’s screen steps.
fire1

fire2

fire3

fire4

fire5

fire6

fire7

fire8

Further if you want to install openfire application your ubuntu base server then follow the below steps. First of all install java package by performing the following command.

Using apt-get package manager.

[root@linuxpcfix root]#sudo apt-get update
[root@linuxpcfix root]#sudo apt-get install default-jre

Once installation process gets complete then verify the Java is installed or not.

[root@linuxpcfix root]#sudo java -version

Through source code
Download the java source code from java/oracle website and execute the following command.

[root@linuxpcfix root]cd /usr/local/
[root@linuxpcfix /usr/local/]tar -zxf jdk-8u5-linux-x64.tar.gz
[root@linuxpcfix /usr/local/]ln -s jdk-8u5 java
[root@linuxpcfix /usr/local]#export JAVA_HOME=”/usr/local/java”
[root@linuxpcfix root]#java -version

Finally install openfire application as given below.

[root@linuxpcfix root]sudo wget -O openfire.deb http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3.9.3_all.deb
[root@linuxpcfix root]sudo dpkg –install openfire.deb

That’s it.

About

I am founder and webmaster of www.linuxpcfix.com and working as a Sr. Linux Administrator (Expertise on Linux/Unix & Cloud Server) and have been in the industry from last 7 years.

Leave a Reply

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

*
*

Time limit is exhausted. Please reload the CAPTCHA.

Categorized Tag Cloud