Installing RabbitMQ on Windows

A brief post on how to install RabbitMQ on your Windows server.

Install Erlang

Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability. Some of its uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance.

http://www.erlang.org/

  1. Download the binary for your system.
    There are 32 bit and 64 bit binaries available.
  2. Copy the binary to the server (if you haven't downloaded it directly from the server of course) and run it.
  3. Choose components, Documentation is not required and can be unchecked.

  4. Choose installation location, default installation should be ok.

  5. Choose the start menu location.

  6. When you continue and choose 'Install' Visual C++ 2010 components will be installed.
    Go ahead and install them.

  7. Once this is done, Erlang installation continues and should finish successfully.
  8. Remote the setup binary from your system.

 Erlang is installed and is running. We can now install RabbitMQ.

 

Install RabbitMQ

RabbitMQ provides robust messaging for applications. It is easy to use and runs on all major operation systems. It supports a huge number of developer platforms, is open source and commercially supported.

http://www.rabbitmq.com/

  1.  Download the windows binary.
  2. Choose the components to install.

  3. Choose the installation location.

  4. The installation completes.
  5. Don't forget to remove the setup binary (I just like my servers clean).

Installing the RabbitMQ Management Plugin

By default you can manage your rabbitmq installation using the command prompt. There is an other option and that is the Administration plugin which provides an HTTP-based API for management and monitoring your RabbitMQ installation, along with a browser-based UI and a command line tool.

http://www.rabbitmq.com/management.html

  1. Start a RabbitMQ commandprompt.
    This should be available through the start menu.

  2. The command to install the management plugin is:
    rabbitmq-plugins enable rabbitmq_management
    The result should ask you to restart the RabbitMQ for changes to take effect.

  3. Restart RabbitMQ as asked. Advised way is to stop and start the RabbitMQ service.
    Either through the ‘windows services’-snapin, or using the RabbitMQ options in the start menu.

 

You can now browse to your RabbitMQ administration page by pointing the browser's url to:
http://<server-name>:15672 where 15672 is the default port.

The default username is 'guest' and the default password is 'guest'.

Congratulations, you have now installed RabbitMQ and can investigate the administration options in detail.