Andrei Pall

Linux Software Engineering

How to Install RabbitMQ on Ubuntu

Here are the commands to install RabbitMQ on Ubuntu:

sudo apt-get install rabbitmq-server

sudo rabbitmq-plugins enable rabbitmq_management

//Open http://localhost:15672/ with user: guest password: guest

//Add a new/fresh user, say user test and password test:
rabbitmqctl add_user test test

// Give administrative access to the new user:
rabbitmqctl set_user_tags test administrator

 // Set permission to newly created user:
rabbitmqctl set_permissions -p / test ".*" ".*" ".*"