RabbitMQ Guide 1

Sunday, June 05, 2022

Installing RabbitMQ on a mac:

brew install rabbitmq

Add RabbitMQ to the PATH in shell:

export PATH=$PATH:/usr/local/sbin

Place this in the .bashrc file or .zshrc file so it can be loaded on every new shell or restarts.

Running RabbitMQ in the foreground:


Running RabbitMQ in the background:

brew services start rabbitmq

Command line interface for RabbitMQ:


Run the web interface of RabbitMQ:


Connect to local instance of RabbitMQ:


Add a user:

rabbitmqctl add_user username

Setting permissions for created user:

rabbitmqctl set_permissions "username" ".*" ".*" ".*"

Adding a tag to a created user:

rabbitmqctl set_user_tags chi administrator

This will enable created users to log into the web interface of RabbitMQ

Powered By Swish