To install Openfire XMPP server on CentOS 8 | CentOS 7
The
You can download this article in PDF format to support us through the following link.
Download the guide in PDF format
turn off
The
The
The
Welcome to our guide on how to install Openfire XMPP Server on CentOS 8. CentOS 7. Openfire is a powerful instant messaging (IM) and chat server using XMPP / Jabber protocol. Openfire is very popular Messaging (Chat) and Presence Server, it is the basis of a series of products using XMPP, and it is said to be extensible, which means that its functions can be enhanced, especially using such as Asterisk IM plugin There are many more plugins.
For Ubuntu installation, please check out: How to install Openfire on Ubuntu
XMPP (Extensible Messaging and Status Protocol) is a widely used open protocol for instant messaging. This is an XML-based real-time communication protocol (including chat). Openfire provides some cool features, such as:
- MySQL, Oracle, PostgreSQL and embedded databases support user details and message storage.
- LDAP integration support
- Support both TLS and SSL to ensure security
- Web GUI configuration manager
- Spark IM client integration
- Many plugins to extend its functionality
- Clustering to avoid single points of failure
- Integration with other external IM servers
Now start to install Openfire XMPP server on CentOS 8 | CentOS 7.
Step 1: Update the system
The first step will be to update the CentOS 8 / CentOS 7 system.
sudo yum -y update
sudo yum -y install wget curl
Step 2: Install Openfire on CentOS 8 | CentOS 7
Download the latest Openfire software package. The version we will install in this article is 4.5.2.
wget https://www.igniterealtime.org/downloadServlet?filename=openfire/openfire-4.5.2-1.noarch.rpm -O openfire.rpm
Once you download the Openfire software package, install it on CentOS 8. Run CentOS 7 by running the following command.
sudo yum localinstall ./openfire.rpm
Accept the installation prompt by pressing ÿ The keys on the keyboard.
......................
libtiff x86_64 4.0.9-15.el8 AppStream 188 k
libxcb x86_64 1.13-5.el8 AppStream 230 k
lua x86_64 5.3.4-11.el8 AppStream 193 k
pango x86_64 1.42.4-6.el8 AppStream 298 k
pixman x86_64 0.36.0-1.el8 AppStream 256 k
ttmkfdir x86_64 3.0.9-54.el8 AppStream 62 k
tzdata-java noarch 2019c-1.el8 AppStream 189 k
xorg-x11-font-utils x86_64 1:7.5-40.el8 AppStream 103 k
xorg-x11-fonts-Type1 noarch 7.5-19.el8 AppStream 522 k
avahi-libs x86_64 0.7-19.el8 BaseOS 62 k
cups-libs x86_64 1:2.2.6-28.el8 BaseOS 433 k
dejavu-fonts-common noarch 2.35-6.el8 BaseOS 74 k
dejavu-sans-fonts noarch 2.35-6.el8 BaseOS 1.5 M
fontconfig x86_64 2.13.1-3.el8 BaseOS 275 k
fontpackages-filesystem noarch 1.44-22.el8 BaseOS 16 k
gdk-pixbuf2 x86_64 2.36.12-5.el8 BaseOS 467 k
libpkgconf x86_64 1.4.2-1.el8 BaseOS 35 k
lksctp-tools x86_64 1.0.18-3.el8 BaseOS 100 k
pkgconf x86_64 1.4.2-1.el8 BaseOS 38 k
pkgconf-m4 noarch 1.4.2-1.el8 BaseOS 17 k
pkgconf-pkg-config x86_64 1.4.2-1.el8 BaseOS 15 k
Installing weak dependencies:
gtk2 x86_64 2.24.32-4.el8 AppStream 3.4 M
Enabling module streams:
javapackages-runtime 201801
Transaction Summary
========================================================================================================================================================
Install 57 Packages
Total size: 86 M
Total download size: 46 M
Installed size: 208 M
Is this ok [y/N]: y
Open all necessary ports in the firewall.
sudo firewall-cmd --zone=public --add-port=9090/udp --permanent
sudo firewall-cmd --zone=public --add-port=9090/tcp --permanent
sudo firewall-cmd --zone=public --add-port=9091/udp --permanent
sudo firewall-cmd --zone=public --add-port=9091/tcp --permanent
sudo firewall-cmd --reload
Start and enable the service.
sudo systemctl start openfire
sudo systemctl enable openfire
Confirm the service status:
$ systemctl status openfire
● openfire.service - SYSV: Openfire is an XMPP server, which is a server that facilitates XML based communication, such as chat.
Loaded: loaded (/etc/rc.d/init.d/openfire; generated)
Active: active (running) since Sat 2020-05-23 19:22:59 CEST; 23s ago
Docs: man:systemd-sysv-generator(8)
Process: 2323 ExecStart=/etc/rc.d/init.d/openfire start (code=exited, status=0/SUCCESS)
Main PID: 2350 (java)
Tasks: 0 (limit: 24408)
Memory: 1.3M
CGroup: /system.slice/openfire.service
‣ 2350 /etc/alternatives/jre/bin/java -Dlog4j.configurationFile=/opt/openfire/lib/log4j2.xml -server -DopenfireHome=/opt/openfire -Dopenfire>
May 23 19:22:58 centos.computingforgeeks.com systemd[1]: Starting SYSV: Openfire is an XMPP server, which is a server that facilitates XML based commun>
May 23 19:22:58 centos.computingforgeeks.com su[2337]: (to daemon) root on none
May 23 19:22:58 centos.computingforgeeks.com su[2337]: pam_unix(su:session): session opened for user daemon by (uid=0)
May 23 19:22:58 centos.computingforgeeks.com su[2337]: pam_unix(su:session): session closed for user daemon
May 23 19:22:58 centos.computingforgeeks.com openfire[2323]: Starting openfire:
May 23 19:22:59 centos.computingforgeeks.com systemd[1]: Started SYSV: Openfire is an XMPP server, which is a server that facilitates XML based communi>
Step 3: Access the Openfire console to complete the setup
Use the IP address or server host name and port 9090 to access the Openfire web interface on the server. At the first prompt, select the installation language:
Select the default language and click carry on. On the Server Settings window, set your area Then click the Continue button.
For database settings, choose Embedded database then click”carry on“.
Select default Profile setting options; you can add external authentication mechanisms later, for example LDAP
Set the email address and password of the administrator user:
Log in to the Openfire console on the next page.
Enjoy the fun of using Openfire.
You have now installed Openfire on CentOS 8. CentOS 7 Linux.
The
You can download this article in PDF format to support us through the following link.
Download the guide in PDF format
turn off
The
The
The