Add Public key
wget-o-HTTPS://WWW.RABBITMQ.COM/RABBITMQ-RELEASE-SIGNING-KEY.ASC | sudo apt-key add-
sudo apt update sudo apt upgrade
sudo apt install rabbitmq-server
sudo systemctl enable Rabbitmq-serversudo systemctl start Rabbitmq-server
sudo systemctl status Rabbitmq-server
If the status is not active (running) , trying various methods cannot start successfully, you can try restarting the operating system.
sudo rabbitmq-plugins enable Rabbitmq_managementsudo systemctl restart Rabbitmq-server
At this point, you should be able to view through http://localhost:15672, Guest/guest account login.
Note: 3.3 and later versions, guest can only log on in service native.
sudo rabbitmqctl status | grep Rabbit,
sudo rabbitmq-plugins list
sudo rabbitmqctl list_users
sudo rabbitmqctl add_user admin YourPassword # Add normal user sudo rabbitmqctl set_user_tags admin Administrator # for normal use User Assignment Administrator role
Walker * * *
Ubuntu 16.04 installs RabbitMQ via apt