install rabbitmq in ubuntu 20.04 1

install rabbitmq in ubuntu 20.04

sudo apt-get update -y
sudo apt-get install 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 apt-get install apt-transport-https
sudo apt-get update -y
sudo apt-get install rabbitmq-server -y --fix-missing

Here is what the above code is Doing:
1. Update the apt package index.
2. Install the curl and gnupg packages to allow us to use https for downloading RabbitMQ.
3. Download the RabbitMQ signing key.
4. Add the signing key to apt.
5. Install the apt-transport-https package.
6. Update the apt package index.
7. Install the RabbitMQ package.

Similar Posts