Helena Edelson

Enterprise & Cloud Messaging | Spring | AMQP | RabbitMQ | Esper | CEP | CloudOps | Management & Monitoring | Security

  • Cloud

  • Topics

  • Archives



Archive for the 'Cloud' Category

RabbitMQ and Erlang Intallation for Mac OSX

Posted by Helena Edelson on 11th June 2010

I’ve been a linux developer for years so I was all thumbs having to look up everything when setting up a new dev environment on a mac. Here’s some tips for setting up a local RabbitMQ server to play with (i.e. not using macports locally, not the EC2 install etc):

Install and build Erlang

First, Check for the latest Erlang GA Release and note the version.

  1. cd to the dir you wish to install into
  2. wget http://erlang.org/download/otp_src_{version}.tar.gz
  3. tar xzvf otp_src_{version}.tar.gz
  4. cd otp_src_{version}
  5. NOTE: run ./configure –help to see what opts you want to run with
  6. ./configure
  7. make
  8. sudo make install
  9. cd ../

Install RabbitMQ Server

First check the latest version of RabbitMQ Server and note the filename.

  1. wget http://www.rabbitmq.com/releases/rabbitmq-server/v1.7.2/rabbitmq-server-generic-unix-1.7.2.tar.gz
  2. tar xzvf rabbitmq-server-generic-unix-1.7.2.tar.gz
  3. Complete the install and config from http://www.rabbitmq.com/install.html#generic-unix, making sure the logs, clustering, data and config dirs are set up
  4. Start RabbitMQ: run rabbit../sbin/rabbitmq-server

If you need a few things first

  1. First, if you don’t have it, download Apple XCode so you can compile Erlang with gcc. FYI the XCode download could not take longer, start it and go build an enterprise app in ROO, deploy it to the cloud, and when you’re done it may have completed. If I knew more about it I’d just download the particular compiler needed which is some form of C compiler. If I find out I’ll update this for a simpler install. if you know, send me a tweet: @hollyedelson
  2. While that’s downloading, if you don’t have it, get the latest version of wget from http://ftp.gnu.org/pub/gnu/wget
  3. On the command line:
    1. tar -xzf wget-{version}.tar.gz
    2. cd wget{version}
    3. ./configure
    4. make
    5. sudo make install
  4. Now run the steps from Version A above.

Find Out More

rabbitmq.com erlang.org

Share/Save/Bookmark

Posted in Cloud, Erlang, Messaging, RabbitMQ, Spring ROO | 1 Comment »