Skip to content

Installation on OSX

nofxx edited this page Sep 12, 2010 · 1 revision

Erlang

In your chosen source dir which we’ll refer to as :

cd wget http://www.erlang.org/download/otp_src_R12B-5.tar.gz tar -zxvf otp_src_R12B-5.tar.gz cd otp_src_R12B-5 ./configure —enable-hipe —enable-darwin-universal make sudo make install

RabbitMQ from source tarball (OS X and generic Linux)

In short, you’ll need a working erlang installation, python, and simplejson. If your python (“python -V”) is 2.6, simplejson is included
in your distribution. Otherwise, install simplejson:

easy_install simplejson

If you don’t have easy_install, install setuptools from http://pypi.python.org/pypi/setuptools:

  1. Get the latest .egg file for your version of python (“python -V”), then run it:
    wget http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c9-py2.5.egg
    sh setuptools-0.6c9-py2.5.egg

and install simplejson, which is needed for the “make” step below.

These instructions assume the latest RabbitMQ release 1.5.3:

  1. Download somewhere
    cd /root
    wget http://www.rabbitmq.com/releases/rabbitmq-server/v1.5.3/rabbitmq-server-1.5.3.tar.gz
  1. Go to your erlang lib directory, usually /usr/lib/erlang/lib or:
    cd /usr/local/lib/erlang/lib
tar -zxf ~/rabbitmq-server-1.5.3.tar.gz cd rabbitmq-server-1.5.3 make
  1. There is no “make install” phase.

Be sure to add the /usr/local/lib/erlang/lib/rabbitmq-server-1.5.3/scripts to your $PATH.

The following websites may also be useful:

  • RabbitMQ website for the latest info : http://www.rabbitmq.com/download.html
  • RabbitMQ server source download : http://www.rabbitmq.com/server.html
  • RabbitMQ build instructions : http://www.rabbitmq.com/build-server.html
  • RabbitMQ install instructions : http://www.rabbitmq.com/install.html
Clone this wiki locally