Skip to content

Instantly share code, notes, and snippets.

@imRohan
Last active November 26, 2019 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imRohan/3ced92c598080a8aec7a33413bd1384e to your computer and use it in GitHub Desktop.
Save imRohan/3ced92c598080a8aec7a33413bd1384e to your computer and use it in GitHub Desktop.
Helpful RabbitMQ commands

Start a new RabbitMQ node

rabbitmq-server start -detached

Stop RabbitMQ node

sudo -u rabbitmq rabbitmqctl stop

Add a new user and password

rabbitmqctl add_user username password

Make the user a administrator

rabbitmqctl set_user_tags username administrator

Set permissions for the user

rabbitmqctl set_permissions -p / username ".*" ".*" ".*"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment