Installing RabbitMQ on Debian Jessie

Written on June 6, 2017

I have recently found myself in need of a message broker for my current project. After a bit of research of the existing implementations of message brokers and messaging queues in general, I have settled on using RabbitMQ.

Simplest way to install RabbitMQ

Direct from the RabbitMQ Documentation. We’ll be using sudo here. If you do not have it installed, you can either install it and give your user rights, or run the commands (after sudo) as root. It is recommended to use sudo, but I wont be angry if you don’t.

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

And that’s pretty much it.

Make sure to configure your new RabbitMQ install.