Helena Edelson

Akka, Spark, Scala, Cassandra, Big Data, Data Science, Cloud Computing, Machine Learning, Distributed Architecture

  • cloud

  • RSS Subscribe

  • Topics

  • Archives



    • @helenaedelson on Twitter
    • Helena Edelson on LinkedIn
    • GitHub Octocat

      helena @ github

      • Status updating...


Installing Erlang and RabbitMQ on RedHat

Posted by Helena Edelson on September 13th, 2010

I am setting up a thin-provisioned vm running RedHat to host erlang and RabbitMQ for our QA team to test my code. Having not done anything on RedHat (just Ubuntu) for a long time I had forgotton everything and yet it was still incredibly simple:

Find the latest release – this was at the time of my install. The path will give you the right idea for the current version:

yum install erlang

For some reason yum has a pretty old version so you may want to manually install it. Choose your RabbitMQ server version -  2.1.0 was the current for this install.

wget http://www.rabbitmq.com/releases/rabbitmq-server/v2.1.0/rabbitmq-server-2.1.0-1.noarch.rpm

rpm –install rabbitmq-server-2.0.0-1.noarch.rpm

Then I verified in a few directories that RabbitMQ was installed, and ran

/sbin/service rabbitmq-server start

Verify that your RabbitMQ node is running:

rabbitmqctl status

If you have no nodes up rabbitmqctl will run but tell you no nodes are up to report status on. Simply restart at least one node.

If you want RabbitMQ to start after everything else on startup/reboot do:

ln -s /etc/rc3.d/S99rabbitmq-server ../init.d/rabbitmq-server

Share/Save

Leave a Reply

You must be logged in to post a comment.