RabbitMQ for Windows

Source: Internet
Author: User
Tags rabbitmq

I. Building the Environment

Rabbit MQ is built on the powerful Erlang OTP platform, so you install Erlang before installing RABBITMQ.

Erlang:http://www.erlang.org/download.html

Rabbitmq:http://www.rabbitmq.com/download.html

I am currently using: Http://pan.baidu.com/s/1eS8Dhse

The default installed rabbit MQ listener port is: 5672

Second, the configuration

1. Erlang will need to manually set the Erlang_home system variables after installation.

Input: Set Erlang_home=c:\program files\erl9.0

2. Open cmd to RabbitMQ installation path: C:\Program FILES\RABBITMQ Server\rabbitmq_server-3.6.10\sbin

The above command enter the Rabbitmqctl status after entering the carriage return, the following is shown in the next lump is the installation no problem:

A problem occurred: error:unable to connect to node [email protected]:nodedown
Don't know what's going on, re-installed the next rabbitmq-server-3.6.10

3,rabbitmq-plugins Enable rabbitmq_management (Install Rabbitmqweb Management plug-in)

4,rabbitmqctl.bat add_user zhangdi 123456 (Create an administrative user, this step is not yet logged in)

5,rabbitmqctl.bat set_user_tags zhangdi Administrator (Setup Administrator, can log in)

6,rabbitmqctl.bat set_permissions-p/Zhangdi ". *" ". *" ". *" (Grant Administrator privileges)

7, other commands

A. Query users: Rabbitmqctl.bat list_users

B. Query Vhosts:rabbitmqctl.bat list_vhosts

C. Start the RabbitMQ service: net stop RabbitMQ && net start RabbitMQ

Reference Documentation:

http://blog.csdn.net/seven_coder/article/details/50946562

Http://www.cnblogs.com/zhangweizhong/p/5687457.html

RabbitMQ for Windows

Related Article

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.