How do I install RabbitMQ on Windows?
Installation from a complete bundle
The bundle zip file contains all the files listed in the next section, including an Erlang system installer and the RabbitMQ broker binary distribution, the .Net client, as well as an archive of the Java librabbitmq client library.[http://www.rabbitmq.com/download.html]
3.Contained in the zip file is a directory named rabbitmq_server-2.0.0. You should extract this folder to somewhere appropriate for application files, for example C:\Program Files\RabbitMQ.
4.Once the files are successfully extracted, you should end up with a structure similar to C:\Program Files\RabbitMQ\rabbitmq_server-2.0.0.
6.by default RABBITMQ_BASE path for windows C:\Documents and Settings\User\Application Data\RabbitMQ. your all requird details information such as log file etc are stored in this dir.
Running the Server as an Application
1.rabbitmq_server-2.0.0\sbin and double-click the rabbitmq-server.bat file.
Running the Server as a Service
1.Log in as an administrator and open a command shell (cmd.exe) in the sbin directory where the broker was installed. Install the service by executing
rabbitmq-service.bat install
2.Ensure that a service with the name RABBITMQ_SERVICENAME now appears in the services control panel (services.msc).
for more details just visit http://www.rabbitmq.com/install.html
There is not really much point in doing this unless you intend to develop Erlang code, and in that case you should spend a day or two learning the basics of Erlang. After that it will be less of a struggle because RabbitMQ is written in Erlang.
I have built Erlang on Linux, but on Windows I just installed the binary package because it is just a test/dev environment for me. On Linux I had problems figuring out how to install the binaries and on Windows it took a while to figure out where to put the config file so that I could load plugins.
In any case, you don't run RabbitMQ on Windows or on Linux because it doesn't work that way. Like many Erlang applications, RabbitMQ runs on the cloud (your private cloud) and really expects to be part of a cluster of several servers all running a shared MQ broker service.
Go to this slide presentation from Google Tech Talks and look at the diagram on slide 17. That is how you would have 4 servers running RabbitMQ in a cluster to serve local clients where local might be one data center out of several in the same geographic region. Local traffic would not cross the cluster but applications don't need to do anything special in order to send/receive messages across the cluster.
Slide 22 sums it up "Making Erlang disappear". You get all the benefits of Erlang without having to learn anything about it. Just use AMQP messaging and many processes. Say goodbye to threads.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With