1、Erlang
1.1)下载安装:http://www.erlang.org/
1.2)系统环境变量配置
2、RabbitMQ
2.1)下载安装:http://www.rabbitmq.com/
2.2)查看RabbitMQ运行状态:

发现错误如:Error: unable to perform an operation on node 'rabbit@PC-20170713JKLG'. Please see diagnostics information and suggestions below.
问题原因:系统中多处的.erlang.cookie内容信息不一致导致;
解决方案:用C:\Windows\System32\config\systemprofile\.erlang.cookie 覆盖 C:\Users\%USERNAME%\.erlang.cookie 即可;

2.3)激活 RabbitMQ's Management Plugin

2.4)启动RabbitMQ服务

2.5)访问RabbitMQ管理界面
默认路径:http://localhost:15672
默认登录用户:guest/guest
2.6)创建用户,密码,绑定角色
查看已有用户列表:rabbitmqctl.bat list_users
新增用户:rabbitmqctl.bat add_user username password
绑定角色:rabbitmqctl.bat set_user_tags username administrator/monitoring/policymaker/management(超级管理员/监控者/策略制定者/普通管理者)
网友评论