原文:windows 安装 RabbitMQ 并添加用户 – 畅玩Coding

1、RabbitMQ 使用 Eralng,所以需要先安装 Eralng

下载: http://www.erlang.org/downloads。选择 OTP *.* Windows *-bit Binary File

2、安装RabbitMQ 。

下载:http://www.rabbitmq.com/download.html。选择 Windows: With installer

3、安装完成后,在cmd进入安装目录

cd D:\RabbitMQ Server\rabbitmq_server-3.7.5\sbin

执行命令,查看是否安装成功

rabbitmqctl status

如果报错Error:unable to perform an operation on node,参考此文:

windows rabbitMQ报错Error unable to perform an operation on node

4、安装RabbitMQWeb管理插件。继续指令命令:

rabbitmq-plugins enable rabbitmq_management

然后在浏览器访问:http://localhost:15672/

默认用户名密码都为:guest

5、添加用户

# 查看默认账户信息
rabbitmqctl.bat list_users # 添加账户 rabbitmqctl.bat add_user 用户名 密码
rabbitmqctl.bat add_user liuchang.org liuchang.org # 授权管理员权限
rabbitmqctl.bat set_user_tags liuchang.org administrator
rabbitmqctl.bat set_permissions -p / liuchang.org ".*" ".*" ".*" # 然后就可以用新创建的用户liuchang.org登陆控制台

最新文章

  1. 浮点型数据运算精度bug
  2. UISegmentedControl
  3. 起点CG原创教程——digicel.FlipBook.6教程
  4. HDU5090——Game with Pearls(匈牙利算法|贪心)(2014上海邀请赛重现)
  5. 抓包工具tcpdump用法说明
  6. 简单易用的堡垒机系统—Teleport
  7. L3-1 二叉搜索树的结构 (30 分)
  8. sparksql udf自定义函数中参数过多问题的解决
  9. 洛谷P2949 工作调度Work Scheduling [USACO09OPEN] 贪心
  10. 启动tomcat时报错:java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException:A child container failed during start
  11. 02 JDBC相关
  12. ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
  13. ORB_SLAM2 源码阅读 ORB_SLAM2::ORBextractor
  14. Installing Apache Spark on Ubuntu 16.04
  15. 利用python 模块读取csv文件信息
  16. SQLSERVER2012误删数据恢复过程
  17. Leetcode 678.有效的括号字符串
  18. Java 利用枚举实现单例模式
  19. 11-Json文件配置
  20. MSSQL横列转纵列

热门文章

  1. request.getRemoteUser() Spring Security做权限控制后
  2. programming+windows+MFC
  3. 三星Galaxy Tab S2上市,压制苹果之心凸显
  4. Spring Profiles example--转载
  5. 软件——python,主函数
  6. jqgrid 实现行编辑,表单编辑的列联动
  7. maven 解决Cannot change version of project facet Dynamic web module to 2.5
  8. 嵌入式/X86下linux系统死机及内存优化
  9. 实现拖拽上传文件的一款小控件——dropzone
  10. oracle 之 COMMENT 分类: H2_ORACLE 2014-04-24 15:30 386人阅读 评论(0) 收藏