How to install RabbitMQ on Ubuntu in 30 seconds
Use our script:
install-rabbitmq.sh
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!
install-deps.sh
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 -
add-rabbitmq-sources.sh
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
install-rabbitmq-package.sh
sudo apt-get update -y
sudo apt-get install rabbitmq-server -y --fix-missing
Check out similar posts by category:
Allgemein
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow