How to install RabbitMQ Server and Client on Debian

This is a quick step by step guide on how to install RabbitMQ and the PHP-amqplib client on a Debian server.
  1. Install server: sudo apt-get install rabbitmq-server
  2. Check the server status: sudo rabbitmqctl status
  3. Restart the server: sudo service rabbitmq-server start
  4. Install PHP5 client (amqp):
  5. Enable the web administration tool: sudo rabbitmq-plugins enable rabbitmq_management
  6. Open the web management tool: http://hostname:55672/
    • Security note: default web tool username / password is guest / guest; this may pose a security risk if not changed quickly.
  7. Tail the STOMP logs for debugging:  tail -f /var/log/rabbitmq/*
  8. The default install does not ship with an example configuration file. Details about how to configure can be found here:
More details available here:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.