Pages

How to Build Chat Server Using Openfire

Openfire is one of server application which implement XMPP (Jabber) protocol to serve chatting for client. This application is built in Java so you must install JRE on your server. Configuration of this server is so easy. You will have a web-based control panel for server configuration. This application is developed by Jive Software. It's support Windows, Linux, and Mac. You can download the installation file from HERE. Beside that there are many plugin such as for archiving or monitoring.

I want to show you how to install and make configuration of it on Linux.

1. After download .tar.gz installer from the site, go to directory where the downloaded file is located. Extract it using terminal.
tar -xzvf openfire_3_7_1.tar.gz

2. After extracting, move directory "openfire" to "/opt".

$ mv openfire /opt


3. Run Openfire

$ cd /opt/openfire/bin
$ ./openfire start


4. You can access Openfire Control Panel via browser at 127.0.0.1:9090.

5. To configure the database for chat server, in setup tool you fill your host name and database name.

driver: com.mysql.jdbc.Driver
server: jdbc:mysql://[YOUR_HOST]/[DATABASE_NAME]


6. Stop on that step. We move to create the database for Openfire. I use PhpMyAdmin for ease of create the database. You must install it first.

7. You can  get database scheme of Openfire in the installation directory "/opt/openfire/resources/database" named "openfire_mysql.sql".

8. Create a database using phpmyadmin, give it name, for example "openfire". Import "openfire_mysql.sql" into this database.

9. Back to Openfire Control Panel. For example, I use "localhost" as hostname and "openfire" as database name. So, you must edit the text to this.

driver: com.mysql.jdbc.Driver
server: jdbc:mysql://localhost/openfire


10. Follow all instruction from web-based setup tool of Openfire. After that, you can use your sever. Try to add user. You can try to chat using Jabber Client like Spark also from Jive Sofware.

49 comments:

  1. The first time I saw this website, I was immediately attracted to zoom. Moreover, all the information is in my opinion quite interesting and intriguing. I hope you also visit my website and pass judgment on my website. Thanks.
    XMPP

    ReplyDelete
  2. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.
    nude webcam chat

    ReplyDelete
  3. I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.
    vr adult cam girls

    ReplyDelete
  4. I am sure you have a great fan following out there.
    ohmibod webcams

    ReplyDelete
  5. A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. adult webcams

    ReplyDelete
  6. I can’t imagine focusing long enough to research; much less write this kind of article. You’ve outdone yourself with this material. This is great content. virtual reality live shows

    ReplyDelete
  7. The post is written in very a good manner and it contains many useful information for me. virtual reality cam

    ReplyDelete
  8. Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information.. vr cams

    ReplyDelete
  9. A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post.
    live cams

    ReplyDelete
  10. Thanks for the blog post buddy! Keep them coming...
    live cams

    ReplyDelete
  11. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. live cams

    ReplyDelete
  12. What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. adult chat

    ReplyDelete
  13. Superb posts with lots of information!!! This is really the most miraculous blog site dude

    whatsapp status video download

    ReplyDelete
  14. I am looking for and I love to post a comment that "The content of your post is awesome" Great work Electrician

    ReplyDelete
  15. Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. live cam shows

    ReplyDelete
  16. One of those online diaries that has left a significant impact on the hearts of the individuals.
    Base Chat Phone Number

    ReplyDelete
  17. I just want to let you know that I just check out your site and I find it very interesting and informative.. free chat rooms online

    ReplyDelete
  18. Really interesting and special post. I like things such as making more homework, developing writing skills, and also related things. These kinds of secrets help in being a qualified person on this topic. This page is very helpful to myself because people like you committed time to learning. Regularity is the key. But it is not too easy, as has been designed to be. I am not an expert like you and plenty of times I feel really giving it up. random chat

    ReplyDelete
  19. We have sell some products of different custom boxes.it is very useful and very low price please visits this site thanks and please share this post with your friends. chaturbat

    ReplyDelete
  20. Everyone knows that the dedicated server hosting is an expensive hosting solution and yet its prices are crashing down as the new technology cloud hosting is coming up.minecraft server hosting

    ReplyDelete
  21. For the dedicated server hosting Minecraft hosting is the best infrastructure. Minecraft best servers is being used for dedicated and reliable web hosting.

    ReplyDelete
  22. A committed server is a sort of Internet facilitating in which a customer rents a whole server not imparted to any other person. It is acquired by an organization when they need more power over their server. https://1gbits.com/bitcoin-vps/

    ReplyDelete
  23. Devoted facilitating offers the capacity to keep up your own server by enabling you to oversee server traffic, server reaction time, server security, information reinforcements, and the applications you need to use on your server. Click Here

    ReplyDelete
  24. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. chaterbate

    ReplyDelete
  25. Your blog provided such a great content to the readers. Thanks for sharing this blog with us. Looking for experts who can manage SolusVM server then, you are on the right place. Get the server in just a one click SolusVM server management

    ReplyDelete
  26. You have shared a nice article here about the chat server hosting. Your article is very informative and I am impressed by the details that you have shared in this post. Thanks for sharing this article here.

    ReplyDelete
  27. Thanks for sharing us information. We would like to let you know MelonCube, a leading company provide high-performance Minecraft server hosting & other services at competitive price. Visit us on Minecraft Server Hosting

    ReplyDelete
  28. Great work man i would like to congratulate you on this effort https://hostingsnet.com/

    ReplyDelete
  29. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much.
    WordPress development company in Chennai

    ReplyDelete
  30. I found your this post while searching for some related information on blog search...Its a good post..keep posting and update the information. Auto Electrician Werribee

    ReplyDelete
  31. Thanks a lot for sharing such an informative blog that helped me to understand Replacement windows San Antonio for more information.

    ReplyDelete
  32. Great post, it was nice to see this article. It was really appreciable. Thank you so much for sharing such an informative article. Get more info about reliable web hosting

    ReplyDelete
  33. If you are playing Minecraft you will love it. Click on: OptiFine 1.15.1 Mod

    ReplyDelete
  34. Great article by the great author, it is very massive and informative but still preaches the way to sounds like that it has some beautiful thoughts described so I really appreciate this article.Get more info about cloud migration services

    ReplyDelete
  35. The article you have shared here is great. I read your post with carefully, the points you mentioned can be very helpful. It is nice seeing your wonderful post.Get for more information fully managed dedicated server

    ReplyDelete
  36. OptiFine 1.15.2 Mod for MC 1.15.1/1.14 >>> optifine 1.15.2 mod

    ReplyDelete
  37. This site was... how do I say it? Relevant!! Finally I have found something that helped me. Kudos!
    Jio Lottery Winner 2020
    KBC Lottery Winner 2020
    KBC Winner List 2020
    KBC Head Office Contact Number

    ReplyDelete
  38. It is necessary to protect the network infrastructure from unauthorized access, misuse, malfunction, modification, destruction, etc. Opt for the It Support Houston.

    ReplyDelete
  39. The main advantage of a VDS is that each administrator maintains control at the root directory level of his or her own virtual server. web hosting

    ReplyDelete
  40. Minecraft premium mu arıyorsunuz? Tıklayın: minecraft premium

    ReplyDelete