• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » How To Install RabbitMQ on Ubuntu 16.04 LTS

By Abhishek Ghosh November 24, 2017 1:45 pm Updated on April 25, 2018

How To Install RabbitMQ on Ubuntu 16.04 LTS

Advertisement

RabbitMQ is a message broker for the messaging protocols. RabbitMQ supports Advanced Message Queuing Protocol (AMQP). Message brokers in computer networks are software applications to communicate by exchanging formally-defined messages over protocols for the message-oriented middleware. Previously we talked about Apache Kafka, that is basically similar type of software. Here are the steps on how to install RabbitMQ on Ubuntu 16.04 LTS server over SSH. These message brokers can act like a middleman for various services like web application to communicate between various servers and devices. RabbitMQ offers an interface, connecting message senders with receivers through an exchange.

 

How To Install RabbitMQ on Ubuntu 16.04 LTS

 

It is practical to use a blank cloud server or other type of virtual server. First SSH to the server, then run the commands as root user. Run update, upgrade :

Vim
1
2
apt update
apt upgrade

Add the public keys :

Advertisement

---

Vim
1
2
3
4
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc |
     sudo apt-key add -
wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc |
     sudo apt-key add -

Run the following command to add the APT repository to /etc/apt/sources.list.d :

Vim
1
2
echo 'deb http://www.rabbitmq.com/debian/ testing main' |
     sudo tee /etc/apt/sources.list.d/rabbitmq.list

Run update :

Vim
1
apt update

RabbitMQ needs Erlang/OTP to run. We have to go to the official repo :

Vim
1
https://packages.erlang-solutions.com/

Find the latest stable release, wget it and install. For example :

Vim
1
2
3
4
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
apt update
apt install erlang erlang-nox

Now install RabbitMQ :

Vim
1
sudo install rabbitmq-server

Run :

Vim
1
2
3
sudo systemctl enable rabbitmq-server
sudo systemctl start rabbitmq-server
service rabbitmq-server status

By default, RabbitMQ have a user named guest with password guest. We will create own administrator account on RabbitMQ server, change password :

Vim
1
2
3
sudo rabbitmqctl add_user admin password
sudo rabbitmqctl set_user_tags admin administrator
sudo rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"

RabbitMQ has a web management console. To enable web management console run :

Vim
1
sudo rabbitmq-plugins enable rabbitmq_management

By default the port is 15672. If you go to http://your.IP.address:15672/, you’ll get the admin interface.

How To Install RabbitMQ on Ubuntu 16.04 LTS

guest is the default username and password is also guest.

The OS limits are controlled via a configuration file at /etc/systemd/system/rabbitmq-server.service.d/limits.conf, for example:

Vim
1
2
[Service]
LimitNOFILE=300000

RabbitMQ website has huge documentation. It is practical to read them for the intended purpose to change any default settings or know the ports. For example, here is documentation on plugins :

Vim
1
https://www.rabbitmq.com/management.html

Tagged With XEUA , rabbitmq windows ubuntu , RABBITMQ The repository is setup! You can now install packages , quicklyqzb , PHME , openut4 , LPCO , install rabbitmq ubuntu , hpw tp set username and password for rabbitmq in ubuntu ssh , HJ1Q
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How To Install RabbitMQ on Ubuntu 16.04 LTS

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Install Elastic Stack on Ubuntu 16.04, CentOS 7 Single Cloud Server

    Here is How to Install Elastic Stack on Ubuntu 16.04, CentOS 7 on Single Cloud Server Instance For Server Log Analysis, Big Data Processing.

  • Steps To Install Nginx Plus on Ubuntu Server (HP Cloud)

    Here Are the Steps To Install Nginx Plus on Ubuntu Server Running on HP Cloud. Nginx Plus is the Paid Version of Nginx with Extra Features.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy