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.
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:
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