码迷,mamicode.com
首页 > Windows程序 > 详细

Windows & RabbitMQ:安装

时间:2016-08-15 12:44:03      阅读:216      评论:0      收藏:0      [点我收藏+]

标签:

可以参考:在 Windows 上安装Rabbit MQ 指南

本文RabbitMQ版本为3.6.1

  • Step 1:安装Erlang
  • Step 2:安装RabbitMQ
  • Step 3:启用Management Plugin,重启RabbitMQ
"C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.1\sbin\rabbitmq-plugins.bat" enable rabbitmq_management
  • Step 4:新建虚拟主机TestHost:
"C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.1\sbin\rabbitmqctl.bat"  add_vhost TestHost
  • Step 5:创建用户、绑定权限:

1. 创建用户TestUser:

"C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.1\sbin\rabbitmqctl.bat"  add_user TestUser TestPassword

2. 设置TestUser为管理员:

"C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.1\sbin\rabbitmqctl.bat"  set_user_tags TestUser administrator

3. 为TestUser添加TestHost虚拟机的权限:

"C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.1\sbin\rabbitmqctl.bat"  set_permissions -p TestHost  TestUser ".*" ".*" ".*"

Windows & RabbitMQ:安装

标签:

原文地址:http://www.cnblogs.com/victorbu/p/5772420.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!