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