Install and Setup Latest Openfire – Real Time Chat Server on Linux


Openfire is a free real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the widely adopted open protocol for instant messaging, XMPP (also called Jabber). Its easy to setup this app and manage it, it offers rock-solid security and performance which are vital to a successful app.

The latest release v4.1.1 contains a few database related bugfixes that only impacted those who upgraded to 4.1.0 and particularly those using MySQL or SQL Server databases.

Main Features

XMPP Extensions:

  • Multi-user chat
  • Personal Eventing Protocol
  • Pubsub
  • Jabber Search


  • User-friendly web-based installation and administration panel
  • Shared groups for easy roster deploying
  • Plugin interface
  • SSL/TLS support
  • Offline Messages support
  • Server-to-Server connectivity
  • Database connectivity for storing messages and user details (including the embedded HSQL database and support for MySQL, PosgreSQL and other databases)
  • LDAP integration
  • Platform independent (with the installers for different platforms)
  • Integration with Spark IM client
  • Legacy transports support (with the discontinued Kraken plugin, and planned support for Spectrum IM)
  • Connection manager for load balancing
  • Clustering support (current open-source Clustering plugin only works with the commercial Oracle Coherence software)
  • Message archiving-logging
  • Content filtering, packet rules

How to install and setup Openfire 4.1.1 on Ubuntu 16.04

  • Install Oracle Java JDK 8 for now on Ubuntu

How to install Oracle Java JDK 8/9 on Ubuntu

  • Download and Install
------ For RHEL, CentOS, Fedora, openSUSE (32bit) ------  sudo wget    sudo rpm -ivh openfire-4.1.1-1.i686.rpm    ------ For RHEL, CentOS, Fedora, openSUSE (64bit) ------  sudo wget    sudo rpm -ivh openfire-4.1.1-1.x86_64.rpm    ------ For Ubuntu, Debian, Linux Mint ------  sudo apt-get install gdebi    sudo wget    sudo gdebi openfire_4.1.1_all.deb
  • Start the Openfire Server
------ For sysvinit systems ------  sudo service openfire start    ------ For systemd systems ------  sudo systemctl start openfire.service  
  • Next configure Openfire

Open your browser and enter this URL “http://localhost:9090/” or “” > Chooce your preferred language on the Welcome page

  • Enter your Domain Name and FQDN as shown. This would be different for you.

  • For the purpose of this tutorial, we will use the built-in database engine. If you have a SQL database which is ideal for a larger setting, then select the first option

  • On Profile Settings page, we will leave as default since we do not have any LDAP directory

  • Set the admin password

  • After configuration is completed > Click to login to admin console

  • Login to the Server console using “admin” as username and the password you created earlier

If you have successfully completed this installation without any issues, the next step is to install the Spark IM to log into this server which is acting as the backend server.

Please share this article if it was useful to you… thanks

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Top 5 Lightweight Web Browsers for Linux

Various Linux distributions provide a number of lightweight browsers that can easily run without eating up too much of...

Vim Color Schemes

A suitable color scheme is the single finest upgrade you can have for any text editor. The highlighting offers a wide range...

Install Telegram on Linux

Have you decided to start using Telegram on your Linux Desktop? At first glance it seems that Telegram requires a mobile...
Bài Viết

Bài Viết Mới Cập Nhật

Check proxy trên trang nào chuẩn nhất❓

Thuê Proxy chạy Google Ads / Cần chú ý gì khi chọn proxy và email chạy G.G ads?

Thuê proxy 4G ở đâu uy tín, giá rẻ, chất lượng?

Vì sao cần thuê proxy xoay? Địa chỉ cung cấp proxy xoay uy tín

Thuê proxy v6 kéo view Youtube ở đâu uy tín, chất lượng?