<?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>RabbitMQ &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/rabbitmq/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Mon, 08 Feb 2021 08:27:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.12</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>RabbitMQ &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Install RabbitMQ on CentOS 7</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-rabbitmq-on-centos-7/</link>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 20 Jan 2021 08:50:26 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2979</guid>

					<description><![CDATA[RabbitMQ&#160;is software that is cross-platform-oriented. RabbitMQ is an open-source message broker written in the Erlang programming language. This&#160;software&#160;consists of a server, libraries supporting HTTP, XMPP and STOMP [en] protocols, AMQP client libraries for Java and .NET Framework, and various plugins (such as plugins for monitoring and control via HTTP or [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://www.rabbitmq.com/">RabbitMQ</a></strong>&nbsp;is software that is cross-platform-oriented. RabbitMQ is an open-source message broker written in the Erlang programming language. This&nbsp;<strong><a href="https://ru.wikipedia.org/wiki/RabbitMQ">software</a></strong>&nbsp;consists of a server, libraries supporting HTTP, XMPP and STOMP [en] protocols, AMQP client libraries for Java and .NET Framework, and various plugins (such as plugins for monitoring and control via HTTP or web interface or plugin “<strong>Shovel</strong>” to transfer messages between brokers). There is a client implementation for accessing <strong>RabbitMQ</strong> for a number of programming languages, including <strong>Perl</strong>, <strong>Python</strong>, <strong>Ruby</strong>, <strong>PHP</strong>. Horizontal scaling is supported for building cluster solutions. </p>



<h2 id="update-your-system-files" >Update your System files</h2>



<p>First, before installing the software, you need to update the packages for the latest state (<strong>CentOS 7</strong>updates are taken into account here)</p>



<pre class="wp-block-code"><code>sudo yum install epel-release
sudo yum update
sudo reboot</code></pre>



<h2 id="installing-erlang" id="installing-erlang" >Installing Erlang</h2>



<p>Since this software is written in the<strong>&nbsp;Erlang</strong>&nbsp;programming language, before installing&nbsp;<strong>RabbitMQ</strong>&nbsp;you need to install this particular programming language</p>



<pre class="wp-block-code"><code>cd ~
wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
sudo rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
sudo yum install erlang</code></pre>



<p>To check the Erlang installation you need the enter the following command</p>



<pre class="wp-block-code"><code>erl</code></pre>



<p>Then you&#8217;ll be taken to the <strong>Erlang</strong> shell like this :</p>



<pre class="wp-block-code"><code>Erlang/OTP 18 &#91;erts-7.3] &#91;source-d2a6d81] &#91;64-bit] &#91;async-threads:10] &#91;hipe] &#91;kernel-poll:false]

Eshell V7.3  (abort with ^G)
1&gt;</code></pre>



<p><strong><em>Ctrl + C</em></strong>&nbsp;<em>Press twice to exit the Erlang shell.</em></p>



<h2 id="install-rabbitmq" id="install-rabbitmq" >Install RabbitMQ</h2>



<p>In order for you to have access to the RabbitMQ remote control console, you first need to open permission for incoming TCP traffic on ports <strong>4369</strong>, <strong>25672</strong>, <strong>5671</strong>, <strong>5672</strong>, <strong>15672</strong>, <strong>61613</strong>, <strong>61614</strong>, <strong>1883</strong>, and <strong>8883</strong>.</p>



<pre class="wp-block-code"><code>sudo firewall-cmd --zone=public --permanent --add-port=4369/tcp --add-port=25672/tcp --add-port=5671-5672/tcp --add-port=15672/tcp  --add-port=61613-61614/tcp --add-port=1883/tcp --add-port=8883/tcp
sudo firewall-cmd --reload</code></pre>



<p>Next, you need to start your <strong>RabbitMQ</strong> server. After a successful start, enable it to start automatically on every system boot</p>



<pre class="wp-block-code"><code>sudo systemctl start rabbitmq-server.service
sudo systemctl enable rabbitmq-server.service</code></pre>



<p>In order to check the status of your <strong>RabbitMQ</strong> server, you need to enter the following command:</p>



<pre class="wp-block-code"><code>sudo rabbitmqctl status</code></pre>



<h2 id="enable-using-rabbitmq-management-console" >Enable using RabbitMQ Management Console</h2>



<p>This is an important step to enable the RabbitMQ management console. It is needed to track RabbitMQ server processes from a web browser:</p>



<pre class="wp-block-code"><code>sudo rabbitmq-plugins enable rabbitmq_management
sudo chown -R rabbitmq:rabbitmq /var/lib/rabbitmq/</code></pre>



<p>Next, you need to set up an administrator account to access the&nbsp;<strong>RabbitMQ</strong>&nbsp;server management console. In the following commands, “<strong>mqadmin</strong>” is the administrator username and “<strong>mqadminpassword</strong>” is the password. Remember to replace them with your own</p>



<pre class="wp-block-code"><code>sudo rabbitmqctl add_user mqadmin mqadminpassword
sudo rabbitmqctl set_user_tags mqadmin administrator
sudo rabbitmqctl set_permissions -p / mqadmin .....</code></pre>



<p>Now visit the following URL:</p>



<pre class="wp-block-code"><code>http:&#47;&#47;&#91;your-hostry-IPv4]:15672/</code></pre>



<p>Now, after successfully completing all the necessary steps, you will be able to log in with the credentials that you provided earlier. You will be greeted by the <strong>RabbitMQ</strong> Remote Management Console, where you can learn more about <strong>RabbitMQ</strong>. </p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How To Install RabbitMQ on Ubuntu 18.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-rabbitmq-on-ubuntu-18-04/</link>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 24 Dec 2020 10:05:48 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2857</guid>

					<description><![CDATA[RabbitMQ is software that is cross-platform oriented. RabbitMQ is an open source message broker written in the Erlang programming language. This software consists of a server, libraries supporting HTTP, XMPP and STOMP [en] protocols, AMQP client libraries for Java and .NET Framework and various plugins (such as plugins for monitoring [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://www.rabbitmq.com/">RabbitMQ</a></strong> is software that is cross-platform oriented. RabbitMQ is an open source message broker written in the Erlang programming language. This <strong><a href="https://ru.wikipedia.org/wiki/RabbitMQ">software</a></strong> consists of a server, libraries supporting HTTP, XMPP and STOMP [en] protocols, AMQP client libraries for Java and .NET Framework and various plugins (such as plugins for monitoring and control via HTTP or web interface or plugin &#8220;Shovel&#8221; to transfer messages between brokers). There is a client implementation for accessing RabbitMQ for a number of programming languages, including Perl, Python, Ruby, PHP. Horizontal scaling is supported for building cluster solutions.</p>



<h2 id="update-your-system-files" >Update your System files</h2>



<p>First, before installing the software, you need to update the packages for the latest state (<strong>Ubuntu 18.04</strong> updates are taken into account here)</p>



<pre class="wp-block-code"><code>sudo apt-get update
sudo apt-get upgrade</code></pre>



<h2 id="installing-erlang" >Installing Erlang</h2>



<p>Since this software is written in the<strong> Erlang</strong> programming language, before installing <strong>RabbitMQ</strong> you need to install this particular programming language</p>



<pre class="wp-block-code"><code>cd ~
wget http://packages.erlang-solutions.com/site/esl/esl-erlang/FLAVOUR_1_general/esl-erlang_20.1-1~ubuntu~xenial_amd64.deb
sudo dpkg -i esl-erlang_20.1-1\~ubuntu\~xenial_amd64.deb</code></pre>



<p>Check your <strong>Erlang </strong>installation:</p>



<pre class="wp-block-code"><code>erl</code></pre>



<p>You will be taken to the Erlang shell:</p>



<pre class="wp-block-code"><code>Erlang/OTP 20 &#91;erts-9.1] &#91;source] &#91;64-bit] &#91;smp:8:8] &#91;ds:8:8:10] &#91;async-threads:10] &#91;hipe] &#91;kernel-poll:false]

Eshell V9.1  (abort with ^G)</code></pre>



<p><strong><em>Ctrl + C</em></strong> Press twice to exit the Erlang shell.</p>



<h2 id="install-rabbitmq" >Install RabbitMQ</h2>



<p>Add the Apt repository to your Apt source list directory <strong>(/etc/apt/sources.list.d</strong>):</p>



<pre class="wp-block-code"><code>echo "deb https://dl.bintray.com/rabbitmq/debian xenial main" | sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list</code></pre>



<p>Then add our public key to the list of trusted keys using <strong>apt-key</strong>:</p>



<pre class="wp-block-code"><code>wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -</code></pre>



<p>Run the following command to update the package list:</p>



<pre class="wp-block-code"><code>sudo apt-get update</code></pre>



<p>Install<strong> rabbitmq-server</strong> package:</p>



<pre class="wp-block-code"><code>sudo apt-get install rabbitmq-server</code></pre>



<h2 id="run-the-server" >Run the Server</h2>



<p>In order to start the server, you must enter the following command:</p>



<pre class="wp-block-code"><code>sudo systemctl start rabbitmq-server.service
sudo systemctl enable rabbitmq-server.service</code></pre>



<p>You can check the RabbitMQ status:</p>



<pre class="wp-block-code"><code>sudo rabbitmqctl status</code></pre>



<p>By default<strong> RabbitMQ</strong> creates a user named &#8220;guest with the password&#8221; guest. You can also create your administrator account on <strong>RabbitMQ</strong> server using the following commands. Change password to your own <strong>password</strong>.</p>



<pre class="wp-block-code"><code>sudo rabbitmqctl add_user admin password 
sudo rabbitmqctl set_user_tags admin administrator
sudo rabbitmqctl set_permissions -p / admin .....</code></pre>



<h2 id="enable-using-rabbitmq-management-console" >Enable using RabbitMQ Management Console</h2>



<p>Enable RabbitMQ Management Console so you can monitor RabbitMQ server processes from your web browser:</p>



<pre class="wp-block-code"><code>sudo rabbitmq-plugins enable rabbitmq_management
sudo chown -R rabbitmq:rabbitmq /var/lib/rabbitmq/</code></pre>



<p>Next, you need to set up an administrator account to access the <strong>RabbitMQ</strong> server management console. In the following commands, &#8220;<strong>mqadmin</strong>&#8221; is the administrator username and &#8220;<strong>mqadminpassword</strong>&#8221; is the password. Remember to replace them with your own</p>



<pre class="wp-block-code"><code>sudo rabbitmqctl add_user mqadmin mqadminpassword
sudo rabbitmqctl set_user_tags mqadmin administrator
sudo rabbitmqctl set_permissions -p / mqadmin .....</code></pre>



<p>Now visit the following URL:</p>



<pre class="wp-block-code"><code>http:&#47;&#47;&#91;your-hostry-IPv4]:15672/</code></pre>



<p>Log in with the credentials you provided earlier. You will be greeted by the <strong>RabbitMQ</strong> Remote Management Console, where you can learn more about <strong>RabbitMQ</strong>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
