I have brew installed rabbitmq on my mac and have tried the following
rabbitmq-server start
sbin/service rabbitmq-server start
and neither work.How do I start it?
I will use homebrew for installing rabbitMQ. If you don't have homebrew installed yet, it's recommended to install it. It will take some time for installing rabbitmq on your machine. There are two ways to run rabbitMQ. To run in the command line, open the terminal and hit ~ then enter, that will bring you the root directory.
It supports AMQP (Advanced Message Queuing Protocol), STOMP (Streaming Text Oriented Messaging Protocol), MQTT (Message Queuing Telemetry Transport) and other protocols. Alright, let's install RabbitMQ on Mac using Homebrew.
You can check the server status and other important details with the below command: Status of node rabbit@localhost ... You can also access the RabbitMQ Management Console and via UI From UI itself you can create Queue and exchange.
On my Mac the RabbitMQ server and CLI tools are present inside the /usr/local/Cellar/rabbitmq/3.7.11/sbin/ directory.
You should be able to run /usr/local/sbin/rabbitmq-server
or use brew services start rabbitmq
Here are a few commands to get you started. Just open your cli and type from anywhere
brew services start rabbitmq //start
brew services stop rabbitmq //stop
brew services restart rabbitmq //restart
You can also list all the running services by
brew services list
Go to the directory where rabbitMQ
is installed and run following commands
cd rabbitmq_server-3.5.3/ //check you's version
sbin/rabbitmq-server //start server
sbin/rabbitmqctl shutdown //stop server
UPDATED
USL: http://localhost:15672/
Login try this
username: guest
password: guest
Try with brew services start rabbitmq
in terminal after that go to
localhost:15672 enter username and password which is
username-guest
password-guest
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With