Install Erlang
wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add -
echo "deb https://packages.erlang-solutions.com/ubuntu focal contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
sudo apt update sudo apt install erlang
Install RabbitMQ
sudo apt update && sudo apt install wget -y sudo apt install apt-transport-https -y wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc | sudo apt-key add - wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
echo "deb https://dl.bintray.com/rabbitmq-erlang/debian focal erlang-22.x" | sudo tee /etc/apt/sources.list.d/rabbitmq.list
sudo apt update sudo apt install rabbitmq-server
sudo systemctl enable rabbitmq-server
RabbitMQ Management Dashboard
sudo rabbitmq-plugins enable rabbitmq_management
To be able to login on the network, create an admin user like below:
rabbitmqctl add_user admin StrongPassword rabbitmqctl set_user_tags admin administrator
References
https://computingforgeeks.com/how-to-install-latest-erlang-on-ubuntu-linux/
https://computingforgeeks.com/how-to-install-latest-rabbitmq-server-on-ubuntu-linux/