<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>openfire installation on ubuntu 20.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/openfire-installation-on-ubuntu-20-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 14 Aug 2020 15:56:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install Openfire XMPP Chat Server On Ubuntu 20.04</title>
		<link>https://www.osradar.com/how-to-install-openfire-xmpp-chat-server-on-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-openfire-xmpp-chat-server-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Sat, 08 Aug 2020 10:29:00 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[How To Install Openfire XMPP Chat Server On Ubuntu 20.04]]></category>
		<category><![CDATA[openfire installation on ubuntu 20.04]]></category>
		<category><![CDATA[openfire xmpp chat server]]></category>
		<category><![CDATA[Ubuntu 20.04 tutorials]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=22456</guid>

					<description><![CDATA[<p>In this tutorial, you&#8217;ll learn that how to install Openfire XMPP Chat Server on Ubuntu 20.04. In previous article, we cover the installation of Ejabberd XMPP Server on Ubuntu 20.04. If you missed the guide you can visit the below link to read it. How To Install Ejabberd XMPP Server On Ubutnu 20.04 Some important [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-openfire-xmpp-chat-server-on-ubuntu-20-04/">How To Install Openfire XMPP Chat Server On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this tutorial, you&#8217;ll learn that how to install Openfire XMPP Chat Server on Ubuntu 20.04. In previous article, we cover the installation of Ejabberd XMPP Server on Ubuntu 20.04. If you missed the guide you can visit the below link to read it.</p>



<p><a href="https://www.osradar.com/?p=22253" target="_blank" rel="noreferrer noopener">How To Install Ejabberd XMPP Server On Ubutnu 20.04</a></p>



<p>Some important features of Openfire.</p>



<p>Some important features of Ejabberd XMPP Server are given below:</p>



<ul><li>DAP integration support</li><li>MySQL, Oracle, PostgreSQL and embedded database support for user details and massages storage.</li><li>Support both TLS and SSL for security</li><li>A lot of plugins to extend its functionality</li><li>Web GUI configuration manager</li><li>Spark IM client integration</li><li>Clustering to avoid a single point of failure</li></ul>



<p>Follow the below steps for an easy and optimal installation.</p>



<h3><strong>Step 1: Update Your System</strong></h3>



<p>As it is good practice to have the latest updates installed before installing any package on Ubuntu 20.04, so update the system.</p>



<pre class="wp-block-verse">sudo apt update &amp;&amp; sudo apt upgrade</pre>



<p>Reboot your system to take effects of the changes.</p>



<pre class="wp-block-verse">sudo systemctl reboot</pre>



<h2><strong>Step 2: Install Openfire XMPP Server On Ubuntu 20.04.</strong></h2>



<p>Visit the link to download the Openfire latest package.</p>



<p><a href="https://www.igniterealtime.org/downloads/index.jsp#openfire" target="_blank" rel="noreferrer noopener">Download Openfire</a>.</p>



<p>You can also fetch it with wget package. At the time of this article latest version is 4.5.2.</p>



<pre class="wp-block-verse">wget https://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_4.5.2_all.deb -O openfire.deb</pre>



<p>After downloading the package, install it with the help of <a href="https://www.osradar.com/apt-the-ubuntu-package-manager/" target="_blank" rel="noreferrer noopener">APT package manager</a>.</p>



<pre class="wp-block-verse">sudo apt install ./openfire.deb</pre>



<p>Press &#8220;Y&#8221; if  prompted to continue the installation.</p>



<pre class="wp-block-verse">sabir@Ubuntu20:~$ sudo apt install ./openfire.deb
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting 'openfire' instead of './openfire.deb'
The following NEW packages will be installed:
openfire
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/39.1 MB of archives.
After this operation, 45.8 MB of additional disk space will be used.
Get:1 /home/sabir/openfire.deb openfire all 4.5.2 [39.1 MB]
Selecting previously unselected package openfire.
(Reading database … 200419 files and directories currently installed.)
Preparing to unpack /home/sabir/openfire.deb …
Unpacking openfire (4.5.2) …
Setting up openfire (4.5.2) …
adduser: Warning: The home directory `/var/lib/openfire' does not belong to the
user you are currently creating.
Processing triggers for systemd (245.4-4ubuntu3.2) …</pre>



<p>Start &amp; Enable the Openfire services.</p>



<pre class="wp-block-verse">sabir@Ubuntu20:~$ <strong>sudo systemctl enable --now openfire</strong>
openfire.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable openfire</pre>



<p>Verify the status of the services.</p>



<pre class="wp-block-verse">sabir@Ubuntu20:~$ <strong>sudo systemctl status openfire
</strong>● openfire.service - LSB: Start/stop openfire jabber server
Loaded: loaded (/etc/init.d/openfire; generated)
Active: <strong>active (running)</strong> since Fri 2020-08-07 19:18:19 PKT; 3min 6s ago
Docs: man:systemd-sysv-generator(8)
Tasks: 28 (limit: 4623)
Memory: 212.0M
CGroup: /system.slice/openfire.service
└─6295 /bin/java -server -DopenfireHome=/usr/share/openfire -Dlog&gt;
اگست 07 19:18:19 Ubuntu20 systemd[1]: Starting LSB: Start/stop openfire jabber&gt;
اگست 07 19:18:19 Ubuntu20 openfire[6287]: best java alternative in:
اگست 07 19:18:19 Ubuntu20 openfire[6287]: Starting openfire: openfire.
اگست 07 19:18:19 Ubuntu20 systemd[1]: Started LSB: Start/stop openfire jabber &gt;
lines 1-13/13 (END)</pre>



<h3><strong>Step 3: Configure Database Support For Openfire XMPP Server</strong></h3>



<p>In this article I&#8217;m going to use MariaDB to store the message data. You can install it by the below command.</p>



<pre class="wp-block-verse">sudo apt update<br>sudo apt -y install mariadb-server</pre>



<p>After the installation, create a new database for openfire.</p>



<pre class="wp-block-verse">sabir@Ubuntu20:~$ sudo mysql -u root
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 71
Server version: 10.3.22-MariaDB-1ubuntu1 Ubuntu 20.04
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]&gt; CREATE DATABASE openfire;
Query OK, 1 row affected (0.000 sec)
MariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON openfire.* TO openfire@localhost IDENTIFIED BY 'Your_Password';
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]&gt; FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]&gt; QUIT
Bye</pre>



<p>And then import the Openfire database schema by</p>



<pre class="wp-block-verse">mysql -u openfire -p'Your_Password'
USE openfire;
source /usr/share/openfire/resources/database/openfire_mysql.sql;</pre>



<p>Verify by listing the tables in the database as shown below:</p>



<pre class="wp-block-verse">MariaDB [openfire]&gt; <strong>SHOW tables</strong>;
+----------------------+
| Tables_in_openfire |
+----------------------+
| ofExtComponentConf |
| ofGroup |
| ofGroupProp |
| ofGroupUser |
| ofID |
| ofMucAffiliation |
| ofMucConversationLog |
| ofMucMember |
| ofMucRoom |
| ofMucRoomProp |
| ofMucService |
| ofMucServiceProp |
| ofOffline |
| ofPresence |
| ofPrivacyList |
| ofProperty |
| ofPubsubAffiliation |
| ofPubsubDefaultConf |
| ofPubsubItem |
| ofPubsubNode |
| ofPubsubNodeGroups |
| ofPubsubNodeJIDs |
| ofPubsubSubscription |
| ofRemoteServerConf |
| ofRoster |
| ofRosterGroups |
| ofSASLAuthorized |
| ofSecurityAuditLog |
| ofUser |
| ofUserFlag |
| ofUserProp |
| ofVCard |
| ofVersion |
+----------------------+
33 rows in set (0.001 sec)</pre>



<h3><strong>Step 4: Configure Firewall &amp; Access Openfire UI</strong></h3>



<p>Allow the firewall access.</p>



<pre class="wp-block-verse">sabir@Ubuntu20:~$ <strong>for i in 9090 9091 5222 7777; do sudo ufw allow $i; done</strong>
Rules updated
Rules updated (v6)
Rules updated
Rules updated (v6)
Rules updated
Rules updated (v6)
Rules updated
Rules updated (v6)</pre>



<p>Now go to your favorite browser and type your <strong>IP:9090 </strong>to access the Openfire Web Dashboard. On the welcome page choose your language and click on the <strong>continue</strong> button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="436" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/1-6-1024x436.png" alt="How To Install Openfire XMPP Chat Server On Ubuntu 20.04" class="wp-image-22460" srcset="https://www.osradar.com/wp-content/uploads/2020/08/1-6-1024x436.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/1-6-300x128.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/1-6-768x327.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/1-6-696x296.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/1-6-1068x455.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/1-6.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>On the next page provide your Server details like hostname or domain name ports, encryption type etc and  click on the <strong>&#8220;Continue&#8221;</strong> button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="437" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/2-3-1024x437.png" alt="How To Install Openfire XMPP Chat Server On Ubuntu 20.04" class="wp-image-22462" srcset="https://www.osradar.com/wp-content/uploads/2020/08/2-3-1024x437.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/2-3-300x128.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/2-3-768x328.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/2-3-696x297.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/2-3-1068x456.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/2-3.png 1283w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now, set up the database, select the <strong>Standard Database</strong> option. You can also select the <strong>Embedded Database</strong> if you don&#8217;t want the MySQL database. So, I&#8217;m going to use the standard one simply select it and hit &#8220;<strong>Continue&#8221;</strong> button.</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/3-2-1024x370.png" alt="How To Install Openfire XMPP Chat Server On Ubuntu 20.04" class="wp-image-22466" width="697" height="251" srcset="https://www.osradar.com/wp-content/uploads/2020/08/3-2-1024x370.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/3-2-300x108.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/3-2-768x277.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/3-2-696x251.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/3-2-1068x386.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/3-2.png 1246w" sizes="(max-width: 697px) 100vw, 697px" /></figure>



<p>Provide the following details for MySQL, you can also use other databases. Replace with your details like domain or IP address.</p>



<pre class="wp-block-verse">Database Driver Presets:<strong>MySQL</strong>
JDBC Driver Class:<strong> com.mysql.jdbc.Driver</strong>
Database URL:<strong>jdbc:mysql://127.0.0.1/openfire?useUnicode=true characterEncoding=UTF-8&amp;characterSetResults=UTF-8</strong>
Username: <strong>openfire</strong>
Password: <strong>Your_Password</strong></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="395" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/4-2-1024x395.png" alt="" class="wp-image-22467" srcset="https://www.osradar.com/wp-content/uploads/2020/08/4-2-1024x395.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/4-2-300x116.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/4-2-768x296.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/4-2-696x268.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/4-2-1068x412.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/4-2.png 1221w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>After it press <strong>&#8220;Continue</strong>&#8221; and select the default options on the Profile tab.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="373" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/5-1024x373.png" alt="How To Install Openfire XMPP Chat Server On Ubuntu 20.04" class="wp-image-22468" srcset="https://www.osradar.com/wp-content/uploads/2020/08/5-1024x373.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/5-300x109.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/5-768x280.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/5-696x254.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/5-1068x389.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/5.png 1218w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Finally provide the admin account details.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="359" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/6-1024x359.png" alt="" class="wp-image-22469" srcset="https://www.osradar.com/wp-content/uploads/2020/08/6-1024x359.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/6-300x105.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/6-768x269.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/6-696x244.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/6-1068x374.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/6.png 1207w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>And then click on the <strong>&#8220;Login to the admin console&#8221;</strong> button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="322" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/7-1024x322.png" alt="How To Install Openfire XMPP Chat Server On Ubuntu 20.04" class="wp-image-22470" srcset="https://www.osradar.com/wp-content/uploads/2020/08/7-1024x322.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/7-300x94.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/7-768x242.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/7-696x219.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/7-1068x336.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/7.png 1281w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now, provide the admin account credentials to login to the dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="419" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/8-1024x419.png" alt="" class="wp-image-22471" srcset="https://www.osradar.com/wp-content/uploads/2020/08/8-1024x419.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/8-300x123.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/8-768x314.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/8-696x285.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/8-1068x437.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/8.png 1112w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Finally you are at the openfire dashboard go and explore the amazing services.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="381" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/9-1024x381.png" alt="How To Install Openfire XMPP Chat Server On Ubuntu 20.04" class="wp-image-22472" srcset="https://www.osradar.com/wp-content/uploads/2020/08/9-1024x381.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/9-300x111.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/9-768x285.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/9-696x259.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/9-1068x397.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/9.png 1262w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>So, this is how you can install Openfire XMPP Chat Server On Ubuntu 20.04. Go and explore the different tabs and enjoy the Openfire Server.</p>



<p>Please share this post and join our <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener">Telegram Channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-openfire-xmpp-chat-server-on-ubuntu-20-04/">How To Install Openfire XMPP Chat Server On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-openfire-xmpp-chat-server-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
