RABBITMQ Study: (ii) Introduction (repost + my comments)

Source: Internet
Author: User

Transferred from: http://lostechies.com/derekgreer/2012/03/05/rabbitmq-for-windows-introduction/

RabbitMQ for Windows:introductionPosted by Derek Greer on March 5,

If you ' re interested in getting started with distributed programming and you develop on the Microsoft Windows platform, Ra  BBITMQ May is what's your ' re looking for. RabbitMQ is an open source, standards-based, multi-platform message broker with client libraries available for a host of D Evelopment platforms including. Net.

This series would provide a gentle introduction to getting started with RabbitMQ for. Net developers, including a Windows E   Nvironment Installation Guide along with a introduction to basic concepts and features through the use of examples in C #. In this first installment, we ll cover installation and basic configuration.

Installation

The first thing to know about RabbitMQ installation are that RabbitMQ runs on Theerlang virtual runtime.  "What's Erlang", you ask, and "Why should I ask we admins to install the yet another runtime engine on our servers"?  Erlang is a functional language which places a large emphasis on concurrency and high reliability. Developed by Joe Armstrong, Mike Williams, and Robert virding to support telephony applications at Ericsson, Erlang ' s FLA Gship product, the Ericsson AXD301 switch, is purported to has achieved a reliability of nine "9″s.

A Popular quote among Erlang adherents is Verding ' s "First Rule of Programming":

"Any sufficiently complicated concurrent program in another language contains an ad hoc informally-specified Bug-ridden SL OW implementation of half of Erlang. "–robert verding

Perfect platform to write a message broker in? The authors of RabbitMQ thought so too.

With this, let's get started with the installation.

Step 1:install Erlang

The first step would be is to download and install Erlang for Windows. You can obtain the latest installer from here (version r15b at the time of this writing).

After downloading and completing the Erlang Installation Wizard, you should has a new erlang_home environment variable SE T. If not, you'll want to set the this now so RabbitMQ'll be able to locate your installation of Erlang.

Step 2:install RabbitMQ

Next, download and install the latest version of RabbitMQ for Windows from here (version 2.7.1 at the time of this writing) .

Step 3:install the RabbitMQ Management Plugin

By default, the RabbitMQ Windows Installer registers RabbitMQ as a Windows service, so technically we ' re all ready to go. In addition to the command line utilities provided for managing and monitoring our RabbitMQ instance, a web-based Managem  ENT plugin is also provided and the standard Windows distribution. The following steps detail how to get the management plugin up and going.

First, from a elevated command prompt, change directory to the Sbin folder within the RabbitMQ Server installation Direct Ory (e.g.%PROGRAMFILES%\RABBITMQ server\rabbitmq_server_2.7.1\sbin\).

Next, run the following command to enable the RABBITMQ management plugin:

RABBITMQ-plugins.    

Lastly, to enable the management plugin we need to reinstall the RabbitMQ service. Execute The following sequence of commands to reinstall the service:

RABBITMQ-service.  Bat Stop RABBITMQ-service.  BAT install RABBITMQ-service.            

To verify management plugin are up and running, start your favorite browser and navigate to http://localhost:55672/mgmt/. If Everything went OK, you should see a screens similar to the following:

Puncha: username/password is guest.

From this, you'll be able to configure and monitor your RabbitMQ instance.

That's concludes our installation guide. Next time, we ' ll walk through writing our first RabbitMQ C # application.

http://blog.csdn.net/puncha/article/details/8449331

RABBITMQ Study: (ii) Introduction (repost + my comments)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.