Installing RabbitMQ on MacOSX Snow Leopard

Stardate 20120813

  1. Install macports http://www.macports.org/install.php
  2. Update macports: sudo port -v selfupdate
  3. Install git-core, since it needed by rabbitmq-server, but not listed as such. From the git doc http://git-scm.com/book/en/Getting-Started-Installing-Git, you need to execute: sudo port install git-core +svn +doc +bash_completion +gitweb
  4. Install rabbitmq-server: sudo port install rabbitmq-server
  5. To start rabbitmq automatically: sudo port load rabbitmq-server
    Or manually: sudo rabbitmq-server -detached
    The problems seen at http://codingiscoding.wordpress.com/2011/04/17/rabbitmq-on-os-x/ do not appear with this version
  6. Log files are found here: /opt/local/var/log/rabbitmq which are not automatically displayed by konsole.
  7. To enable the management web console: sudo rabbitmq-plugins enable rabbitmq_management
  8. Restart:
    sudo launchctl stop org.macports.rabbitmq-server
    sudo launchctl start org.macports.rabbitmq-server
  9. You can view RabbitMQ then here: http://<machinename>:55672/mgmt/ with username/password guest/guest. See http://www.rabbitmq.com/management.html.
  10. Add a new administrator user and delete guest, either by the web console, or by rabbitmqctl.

If you have forgotten your password, then rabbitmqctl is your friend: sudo rabbitmqctl change_password <user_name> <password>. See http://www.rabbitmq.com/man/rabbitmqctl.1.man.html for details.

There is also a python utility script available: http://www.rabbitmq.com/management-cli.html

Leave a Reply