Add the following entry to /etc/apt/sources.list to use the RabbitMQ repository:
deb http://www.rabbitmq.com/debian/ testing main
To remove warnings about unsigned packages add the RabbitMQ public key to the trusted key list:
wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc sudo apt-key add rabbitmq-signing-key-public.asc
Update the respoitories and install RabbitMQ:
sudo apt-get update sudo apt-get install rabbitmq-server
To confirm the status of the RabbitMQ broker run the following:
sudo rabbitmqctl status