Rabbitmq Set Up

This article explains about , how to install and set up rabbitmq on ubuntu

Hello all. Today we will see how to setup Rabbitmq on ubuntu  and basics of rabbitmq.

 What is Rabbitmq?

    Rabbitmq is a message broker written in erlang(functional programming language). Its simple to use and runs in all platforms. Robust and fault tolerence.

Install Rabbitmq on your system

In debian based systems


echo 'deb http://www.rabbitmq.com/debian/ testing main' |

sudo tee /etc/apt/sources.list.d/rabbitmq.list

wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc |

sudo apt-key add -

sudo apt-get update

sudo apt-get install rabbitmq-server

Note: other platform users refer here 

Now check Rabbitmq status by

sudo rabbitmqctl status

It shows something like this


[{pid,2536},
{running_applications,
....

 Enable Rabbitmq Management Plugins by

               Rabbitmq comes with management plugins , you can enable that by

 rabbitmq-plugins enable rabbitmq_management

Restart Rabbitmq Server by

    sudo service rabbitmq-server restart

Open Your favourite Browser and type

    http://localhost:15672

Default username and password

  username: guest
  password: guest

after sign in you can see options like overview , exchanges, queues, Admin

Just surf the options and see what's available. In this plugin , every page gets updated every  5 seconds by default. You can see the select box bottom of right corner.
Thats it for the setup. We will see in next post how to use rabbitmq as message broker and various queue types.

Thanks for reading. Happy coding !!!

Leave a comment

(Note: Comments are moderated)