23. October 2013 10:45
A brief post on how to install RabbitMQ on your Windows server.
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.
- Download the binary for your system.
There are 32 bit and 64 bit binaries available.
- Copy the binary to the server (if you haven't downloaded it directly from the server of course) and run it.
- Choose components, Documentation is not required and can be unchecked.
- Choose installation location, default installation should be ok.
- Choose the start menu location.
- When you continue and choose 'Install' Visual C++ 2010 components will be installed.
Go ahead and install them.
- Once this is done, Erlang installation continues and should finish successfully.
- Remote the setup binary from your system.
Erlang is installed and is running. We can now 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.
- Download the windows binary.
- Choose the components to install.
- Choose the installation location.
- The installation completes.
- 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.
- Start a RabbitMQ commandprompt.
This should be available through the start menu.
- 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.
- 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.