17/01/2016 - MAC, RABBITMQ
Follow simple steps below to install RabbitMQ with Homebrew.
# Update brew
$ brew update
# Install the server
$brew install rabbitmq
If you get Error: parent directory is world writable but not sticky
message towards the end of installing the server, do the following.
# Update permissions
$ sudo chmod +t /private/tmp/
# Re-run installation
$brew install rabbitmq
The RabbitMQ server scripts are now under /usr/local/sbin
so you need to define it in either .bash_profile
or .profile
files.
# Open the file
nano ~/.bash_profile
# Add this additional line into it and save
export PATH=$PATH:/usr/local/sbin
$ rabbitmq-server
RabbitMQ 3.6.0. Copyright (C) 2007-2015 Pivotal Software, Inc.
## ## Licensed under the MPL. See http://www.rabbitmq.com/
## ##
########## Logs: /usr/local/var/log/rabbitmq/rabbit@localhost.log
###### ## /usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log
##########
Starting broker... completed with 10 plugins.
You can now access browser based management tool via http://localhost:15672/
and the default username and password is guest:guest
.