<?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>Step 3: Install Ejabberd XMPP Server On Ubutnu 20.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/step-3-install-ejabberd-xmpp-server-on-ubutnu-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:51:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>How To Install Ejabberd XMPP Server On Ubutnu 20.04</title>
		<link>https://www.osradar.com/how-to-install-ejabberd-xmpp-server-on-ubutnu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-ejabberd-xmpp-server-on-ubutnu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Sun, 02 Aug 2020 04:59:00 +0000</pubDate>
				<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[ejabberd ubuntu]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[how to tutorials]]></category>
		<category><![CDATA[install ejabberd on ubuntu]]></category>
		<category><![CDATA[Step 3: Install Ejabberd XMPP Server On Ubutnu 20.04]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=22253</guid>

					<description><![CDATA[<p>Today we are going to learn that how to install Ejabberd XMPP Server on Ubuntu 20.04. Follow the below steps for an easy and quick installation. Ejabberd is an open source XMPP Server specially designed for speed and the efficiency having support for SQL, LDAP, Mnesia or the external scripts. It uses Mnesia(distributed internal Erlang [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ejabberd-xmpp-server-on-ubutnu-20-04/">How To Install Ejabberd XMPP Server On Ubutnu 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>Today we are going to learn that how to install Ejabberd XMPP Server on Ubuntu 20.04. Follow the below steps for an easy and quick installation.</p>



<p>Ejabberd is an open source XMPP Server specially designed for speed and the efficiency having support for SQL, LDAP, Mnesia or the external scripts. It uses Mnesia(distributed internal Erlang database) to persist data but other DB systems are also supported like SQL and NoSQL databases(Riak).</p>



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



<ul><li>Store-and-forward (offline messages)</li><li>Contact list and presence</li><li>One-to-one messaging</li><li>User presence extension: Personal Event Protocol (PEP) and typing indicator</li><li>User profile with vCards</li><li>Group chat</li><li>Messaging archiving with Message Archive Management (MAM)</li><li>Message Delivery Receipts</li><li>Privacy settings, through privacy list and simple blocking extensions</li><li>Last activity</li><li>Metrics and full command-line administration</li><li>Full feature web support, with BOSH and web sockets</li></ul>



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



<p>As usual we do, first of all update your system to have the latest updates installed.</p>



<pre class="wp-block-verse">sudo apt -y update</pre>



<h3><strong>Step 2: Download Ejabberd Package</strong></h3>



<p>Visit the Ejabberd official page to <a href="https://www.process-one.net/en/ejabberd/downloads/">download</a> the latest version of ejabberd. Here I&#8217;m going to use the 20.04 version.</p>



<pre class="wp-block-verse">EJ_VERSION=20.04</pre>



<p>I&#8217;ll download the package with the help of wget.</p>



<pre class="wp-block-verse">sabir@foreman:~$ wget https://static.process-one.net/ejabberd/downloads/20.04/ejabberd_${EJ_VERSION}-0_amd64.deb
--2020-08-01 09:50:52-- https://static.process-one.net/ejabberd/downloads/20.04/ejabberd_20.04-0_amd64.deb
Resolving static.process-one.net (static.process-one.net)… 13.225.87.114, 13.225.87.70, 13.225.87.71, …
Connecting to static.process-one.net (static.process-one.net)|13.225.87.114|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 18476816 (18M) [application/x-deb]
Saving to: ‘ejabberd_20.04-0_amd64.deb.1’
ejabberd_20.04-0_am 100%[==================&gt;] 17.62M 3.13MB/s in 8.4s
2020-08-01 09:51:02 (2.09 MB/s) - ‘ejabberd_20.04-0_amd64.deb.1’ saved [18476816/18476816]</pre>



<p>Verify that the package is downloaded by hitting.</p>



<pre class="wp-block-verse">abir@foreman:~$ ls -lh ejabberd_20.04-0_amd64.deb
-rw-rw-r-- 1 sabir sabir 18M اپریل 30 13:06 ejabberd_20.04-0_amd64.deb</pre>



<h3><strong>Step 3: Install Ejabberd XMPP Server On Ubuntu 20.04</strong></h3>



<p>Once the package is downloaded, 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>. Type the following command in your terminal.</p>



<pre class="wp-block-verse">sudo apt install ./ejabberd_20.04-0_amd64.deb</pre>



<p>Various actions will be performed by the installer.</p>



<p>A user named &#8220;<strong>ejabberd&#8221;</strong> will be created and the directory for this system user <strong>-/opt/ejabberd</strong></p>



<h3><strong>Step 4: Start Ejabberd Services On Ubuntu 20.04</strong></h3>



<p>After the successful installation, start and enable the services on Ubuntu 20.04.</p>



<pre class="wp-block-verse">sudo cp $(sudo find / -name ejabberd.service) /etc/systemd/system<br>sudo systemctl daemon-reload<br>sudo systemctl enable --now ejabberd</pre>



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



<pre class="wp-block-verse">sabir@foreman:~$ sudo systemctl status ejabberd
● ejabberd.service - XMPP Server
Loaded: loaded (/etc/systemd/system/ejabberd.service; enabled; vendor pre&gt;
Active: active (running) since Sat 2020-08-01 09:29:39 PKT; 28s ago
Process: 5281 ExecStart=/bin/sh -c /opt/ejabberd-20.04/bin/ejabberdctl sta&gt;
Tasks: 29 (limit: 4623)
Memory: 47.7M
CGroup: /system.slice/ejabberd.service
├─5311 /opt/ejabberd-20.04/bin/epmd -daemon
├─5313 /opt/ejabberd-20.04/bin/beam.smp -K true -P 250000 -- -roo&gt;
├─5323 erl_child_setup 65536
├─5354 inet_gethost 4
├─5355 inet_gethost 4
└─5404 /opt/ejabberd-20.04/lib/os_mon-2.4.7/priv/bin/memsup
اگست 01 09:29:34 foreman.example.com systemd[1]: Starting XMPP Server…
اگست 01 09:29:39 foreman.example.com systemd[1]: Started XMPP Server.
lines 1-16/16 (END)</pre>



<p>Add ejabberdctl command location to your PATH</p>



<pre class="wp-block-verse">$ sudo find / -name ejabberdctl<br>/opt/ejabberd-20.04/bin/ejabberdctl</pre>



<p>Then add path to the .bashrc file</p>



<pre class="wp-block-verse">sudo nano ~/.bashrc</pre>



<p>And set it like you see here after.</p>



<pre class="wp-block-verse">PATH=$PATH:/opt/ejabberd-20.04/bin/</pre>



<p>Finally source the file</p>



<pre class="wp-block-verse">source ~/.bashrc</pre>



<h3><strong>Step 5: Add An Admin User To Ejabberd</strong></h3>



<p>Now, add the admin user for administrative purposes to Ejabberd.</p>



<p>Follow the below syntax to add the user.</p>



<pre class="wp-block-verse">ejabberdctl register &lt;username&gt; &lt;server_hostname&gt; &lt;user_password&gt;</pre>



<pre class="wp-block-verse"><strong>jabberdctl register osradar ejabberd.example.com StrongPassword</strong>
User admin@example.com successfully registered</pre>



<p>Now, edit the ejabberd configuration file to provide the administrative rights to the XMPP account created above.</p>



<pre class="wp-block-verse">sudo nano /opt/ejabberd/conf/ejabberd.yml
acl:
     admin:
      user:
- "osradar@ejabberd.example.com"</pre>



<p>User format:</p>



<pre class="wp-block-verse">"username@servername"</pre>



<h3><strong>Step 6: Access Ejabberd Web Dashboard</strong></h3>



<p>You can find the ejabberd Web Admin at</p>



<pre class="wp-block-verse"><a href="http://server_ip_address_or_hostname:5280/admin/.">http://server_ip_address_or_hostname:5280/admin/.</a></pre>



<p>And verify if the port is bound.</p>



<pre class="wp-block-verse">ss -tunelp | grep 5280</pre>



<p>Now, visit the above URL and then provide the credentials details as created earlier to login to the dashboard.</p>



<p>Upon visiting the link, You&#8217;ll see the similar Web Admin.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="650" height="279" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/08/1-1.png" alt="How To Install Ejabberd XMPP Server On Ubutnu 20.04" class="wp-image-22255" srcset="https://www.osradar.com/wp-content/uploads/2020/08/1-1.png 650w, https://www.osradar.com/wp-content/uploads/2020/08/1-1-300x129.png 300w" sizes="(max-width: 650px) 100vw, 650px" /><figcaption>How To Install Ejabberd XMPP Server On Ubutnu 20.04</figcaption></figure>



<p>So, this is how you can install Ejabberd XMPP Server On Ubuntu 20.04</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener">our Telegram Channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ejabberd-xmpp-server-on-ubutnu-20-04/">How To Install Ejabberd XMPP Server On Ubutnu 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-ejabberd-xmpp-server-on-ubutnu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
