Installation of RabbitMQ
In this part I will focus on the installation and configuration of RabbitMQ on Windows, sins in my series I am going to use Visual Studio 2013 and .NET framework as a primary platform for my examples. One of my intensions is that if you want to follow me you need to have RabbitMQ Server up and running and you also need Visual Studio 2012 or later. Sins this is a dependency on Part3 in this series you could wait if you want to perform below action until I publish Part3.
First you need to get Rabbit Mq up and running is to install Erlang sins RabbitMQ has dependencies to Erlang and after this you can install RabbitMQ. Please follow below links to get the installer files.
- Install Erlang : http://www.erlang.org/download/otp_win32_R16B03-1.exe
- Install RabbitMQ: http://www.rabbitmq.com/releases/rabbitmq-server/v3.2.3/rabbitmq-server-3.2.3.exe
You should now have several folders created one for Erlang like below picture with the name erl5.10.4 this could differ depending what version you have or downloaded.
For RabbitMQ the folder it look like below picture with the name RabbitMQ Server.
One of the requirement is that you should manage and monitoring RabbitMQ and for this we need to install an Webserver Plug-in to do that you need to open an command prompt and you need to run this as an Admin, then change directory to C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.2.3\sbin if you have the same path as above for RabbitMQ. and the run this command:
rabbitmq-plugins.bat enable rabbitmq_management
After running this command line, you need to get the Rabbit Mq server to see these additional plug-ins, so we need to start and stop the Rabbit server (where you will need to run the following command lines, where the command windows are opened with Admin rights):
- rabbitmq-service stop
- rabbitmq-service remove
- rabbitmq-service install
- rabbitmq-service start
Verify the webserver
Den we need to check that the web server is available, which can be checked using the following URL: http://localhost:55672/#/.
RabbitMQ have the following default username and password:
- username =“guest”
- password “guest”
If all went well and you have login you should see the RabbitMQ management portal.
End of Part2 RabbitMQ
So now you are prepared for the upcoming Part3 of RabbitMQ where I will take you trough the basic of using’s of RabbitMQ from an producer and consumer side as well as handling the RabbitMQ server, and using Visual Studio 2013 for the producer and client side.