This tutorial is helpful to install and configure your won instant messaging (chat) server using Openfire ( Server) and Spark ( Client ). You can configure it to use in your LAN environment also.
Step 1. Install Java
Before installing hadoop make sure you have java installed on your system. If you do not have java installed use following article to install Java.
Step 2: Download and Install Openfire
# wget http://download.igniterealtime.org/openfire/openfire-3.8.2-1.i386.rpm
Install Openfire using rpm command
# rpm -ivh openfire-3.8.2-1.i386.rpm
Start Openfire Service
# service openfire start
Step 3: Create MySQL Database and User
Openfire required mysql as database server, Use following commands to create database and user.
# mysql -uroot -p mysql> CREATE DATABASE openfire; mysql> GRANT ALL on openfire.* to [email protected] IDENTIFIED BY 'secretpassword'; mysql> FLUSH PRIVILEGES;
Step 4: Configure Openfire
Openfire by default works on port 9090, Connect your server on port 9090 using browser. It will open an configuration wizard, Follow the wizard and complete configuration. During wizard using above created mysql credentials.
Step 5: Create User in Openfire
Login to openfire using admin account and go to following location and create users.
Step 6: Connect to Openfire
To connect to Openfire you need to download “spark” client software and install on your system. Download latest version from its official site or use below download link
Install spark client and login to your account, or register new accounts.