How to install RabbitMQ on Ubuntu in 30 seconds

Use our script:

wget -qO- https://techoverflow.net/scripts/install-rabbitmq.sh | sudo bash /dev/stdin

This will install RabbitMQ and its dependencies from the official deb repositories.

Or do it manually:

Copy and paste these command blocks into your Linux shell. You need to copy & paste one block at a time - you can paste the next block once the previous block is finished!

sudo apt-get update -y
sudo apt-get install apt-transport-https curl gnupg -y
curl -fsSL https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc | sudo apt-key add -
sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list <<EOF
deb https://dl.bintray.com/rabbitmq-erlang/debian $(lsb_release -cs) erlang
deb https://dl.bintray.com/rabbitmq/debian $(lsb_release -cs) main
EOF
sudo apt-get update -y
sudo apt-get install rabbitmq-server -y --fix-missing