OPENFIRE is a widely used chat server, It is a real time collaboration (RTC) server licensed under the Open Source Apache License.The protocol works behind openfire is XMPP (also called Jabber) written in java. Now we will configure openfire and start one to one and group chat with our local user and manage user, database, sercurity on server by admin panel.
OPENFIRE Installation And Configuration
Tested on centos 5.4/6.2 32bit
Download and Install the Openfire Software
Openfire can be downloaded from the Ignite Realtime web site(http://www.igniterealtime.org/downloads) Every openfire packages are avilable in 32bit.
Now install the RPM, start the Openfire service, verify it is actively running, and set it to auto-start whenever your server is rebooted.
[[email protected] ~]# rpm -ivh openfire-3.10.0-1.i386.rpm
Preparing… ########################################### [100%]
1:openfire ########################################### [100%]
[[email protected] ~]# /etc/init.d/openfire start
[[email protected] ~]# chkconfig –level 235 openfire on
Configure Admin Panel
Launch your favorite browser and go to http://IP_Address:9090
1: If you set up a DNS alias http://chat.mydomain.com:9090 to go to the Openfire web interface. You’ll be greeted by Openfire’s setup tool. In the first step, select your language. Here we choose English.
Here i am using my local ip adderss to open admin configuration panel.
2: The next step is to set the server domain. If you opted for an IP address name, enter your server’s IP. If you opted to create a DNS alias, enter the DNS server domain. Here we created 192.168.0.203 so we’ll enter that. By default the Openfire web interface console ports are 9090 and 9091 for standard and secure respectively. You can use other ports if you wish (NOTE: you’ll have to change your firewall settings if you use different ports), but for this guide we’re sticking with the default values.
3: You have two choices regarding which database to use for Openfire to store its data: an external database like MySQL, MSSQL, PostgreSQL, etc… or to use the bundled embedded database. If you setup a MySQL database then select the Standard Database Connection option. If you didn’t, the only choice is to use the Embedded Database.
4:The profile step has to do with the users and groups of chat members and where Openfire will store that information (new users, user groups, etc…). We won’t opt for LDAP to store this information. Here we choose default.
5:We’re almost done. Enter the administrator email address (your email address) and set a password for your Openfire server.
6: Now you’re done!. Click the Login to admin console button.
7: Type in the Openfire admin password you entered in Step 5 and click the Login button.
Openfire Administration Console
Welcome to the Openfire Administration Console. Take a look around and get familiar with the layout.
Step1: Open Server Setting -> Registration & Login-> and disabled options.If you will not disable that option user can make a new account without any admin previleges.
Step2: Click the Security Settings link on the left. Under Client Connection Security, choose the Required option to force jabber clients to use SSL (NOTE: If the client doesn’t support SSL and this option is enabled, the client will not be able to connect to the server). Click the Save Settings button.
Step3: Openfire SSL Certificates:Openfire creates self-signed SSL Certificates by default. Remember the port 9091 from before? If you ever want to access this administration console from a Secure Connection, then you’ll need to restart the Openfire HTTP Server.
Click the Server Certificates link on the left menu.
Step4: Go to Create New User under the Users section on the left. Fill in the Username, Password, and Confirm Password fields and click the Create User button.
Step5: Setting up a Jabber Client (Spark for Windows)
(b) Type in your Openfire user credentials (Username and Password). In the Server field, type in the Openfire Servers IP address or DNS alias. Click the Login button.
Step6: Make a group and add user on that group.
Here i create a group kvitchat_group and change settings.
Step7: Now login users and start chat.
Step8: Change the profile pics ->Login on spark-> Click on spark tab-> Click on edit my profile tab-> Click on Avtar and select your profile pic
Step9: Start Conference chat -> Click on Action tab and then start a Conference -> Invite avilable person to start conference chat->Click on Roster
Now Start Conference Chat
Step10: Open admin panel and click on Plugins tab-> Click on Available Plugins -> There are lot of plugins here you can install these plugins according to your requirements.
Step11: Now we install very impotant plugin to monitor the all users chat and manage it by admin panel.
Install Monitoring Service plugin and check it on Archiving section of admin panel then configure it.
Click on right side of page Archive Settings, and select below options.
After that again go to archiving section and click on search tab
Now you can view all chat and download particular chat in pdf and send to user who complain that i am not sending any wrong message to another user.
Step12: Install Motd plugin and send the message of the day to every user whenever they will login.
Now the message will be share to all user who will login on chat server.
Step13: We can block any word form our chat server, we can’t send wrong word to any one by chat, if any one send the block word, he will get a message. Install content filter plugin and set below setting.
Now check the chat you will be not able to send any word you have blocked.
Step14: Now add subscription plugin and chenge the setting.
Enable user registration option.
Now opent the url on next tab of browser and login user
When the admin user login, he will get the message of new users on server and user will get welcome message.
Step15: The last step is to import and export user
CEO, KV IT-Solutions Pvt. Ltd. | [email protected] | 9810028374|
Linux Professional and an Industrial Trainer | 20 + years Experience in IT Industry
” We are born free, No Gate and Windows can snatch our freedom “