Skip to content

Instantly share code, notes, and snippets.

@tomysmile
Last active January 27, 2023 13:01
Show Gist options
  • Save tomysmile/fe41f798516468a4c32bfbafbf7c9c12 to your computer and use it in GitHub Desktop.
Save tomysmile/fe41f798516468a4c32bfbafbf7c9c12 to your computer and use it in GitHub Desktop.
Install RabbitMQ using Brew

Update Homebrew’s package database.

brew update

To install the MongoDB binaries, issue the following command in a system shell:

brew install rabbitmq

The RabbitMQ server scripts are installed into /usr/local/sbin. This is not automatically added to your path, so you may wish to add:

export PATH=$PATH:/usr/local/sbin to your .bash_profile or .profile or .bashrc

All scripts run under your own user account. Sudo is not required.

To install as a services :

brew services start rabbitmq

or as a standalone process:

rabbitmq-server

Default user access

The broker creates a user guest with password guest. Unconfigured clients will in general use these credentials. By default, these credentials can only be used when connecting to the broker as localhost so you will need to take action before connecting fromn any other machine.

@noopurphalak
Copy link

Doesn't work for M1 Macbooks.

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