install rabbitmq service ubuntu code example
Example 1: install rabbitmq on ubuntu 18.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
Example 2: installing rabbitmq on debian
docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management