Openfire Configuration on LINUX/CENTOS

Openfire could be a cross-platform server and might be put in below Linux, Solaris, Mac, or Windows package environments. Once it involves system necessities, Openfire is extremely suave and an ideal gentleman UN agency has very moderate demands. Openfire is an instant messenger (IM) and chat server that works with XMPP protocol. This document will provide you through installing Openfire.

A web-based, “wizard” driven setup and configuration tool is formed into Openfire. Simply launch Openfire (platform-specific directions below) and use an internet application program to connect to the admin console. The default port for web-based admin console is 9090. If you are on identical machine as Openfire, the following uniform resource surveyor will generally work: http://ipaddress of openfire server: 9090. Follow the configuration provided for openfire server on Linux/Centos machines:

Step 1 : Install dependencies.
Step 2 : Download openfire and configure.
Step 3 : Install and configure mysql database.
Step 4 : Create user name and password in mysql.
Step 5 : Login to web browser and enter admin details.

To proceed with configuration of openfire server on linux/centos follow the below steps:

Step 1 : Install dependencies:

#yum -y install wget java glibc.i686

Step 2 : Change directory to cd /tmp

i. Download openfire rpm


ii. install and run rpm

#yum –y install ./openfire*rpm

iii. start openfire services and check openfire is configured on server:

#service openfire start

#chkconfig –level 235 openfire on

iv. Make sure that iptables are off :

#service iptables stop

Step 3 :

i. Configure mysql server to store the data

#yum –y install mysql-server

ii. Then start the services

#/sbin/service  mysqld start

And check mysql is on

#/sbin/chkconfig mysqld on

iii. Install mysql database to have secure data


In order to log into MySQL to secure it, we’ll need the current
password for the root user.  If you’ve just installed MySQL, and
you haven’t set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on…
Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.
You already have a root password set, so you can safely answer ‘n’.
Change the root password? [Y/n] n
… skipping.
By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] y
… Success!
Normally, root should only be allowed to connect from ‘localhost’.  This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y
… Success!
By default, MySQL comes with a database named ‘test’ that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] y
– Dropping test database…
ERROR 1008 (HY000) at line 1: Can’t drop database ‘test’; database doesn’t exist
… Failed!  Not critical, keep moving…
– Removing privileges on test database…
… Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] y
… Success!
Cleaning up…
All done!  If you’ve completed all of the above steps, your MySQL
installation should now be secure.
Thanks for using MySQL!

iv. Restart services

#/sbin/service mysqld restart

Step 4 : Login to mysql and create a database :

#/usr/bin/mysql –u root –p

Step 5 : Login to web browser and enter the details of admin:

http://domain ip address:9090






 For more details you can watch video and also subscribe for more Videos :


Leave a Reply

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

+ 24 = 29