1肮砾、Erlang
1.1)下載安裝:http://www.erlang.org/
1.2)系統(tǒng)環(huán)境變量配置
2页响、RabbitMQ
2.1)下載安裝:http://www.rabbitmq.com/
2.2)查看RabbitMQ運行狀態(tài):
發(fā)現(xiàn)錯誤如:Error: unable to perform an operation on node 'rabbit@PC-20170713JKLG'. Please see diagnostics information and suggestions below.
問題原因:系統(tǒng)中多處的.erlang.cookie內(nèi)容信息不一致導(dǎo)致重挑;
解決方案:用C:\Windows\System32\config\systemprofile\.erlang.cookie 覆蓋?C:\Users\%USERNAME%\.erlang.cookie 即可李命;
2.3)激活?RabbitMQ's Management Plugin
2.4)啟動RabbitMQ服務(wù)
2.5)訪問RabbitMQ管理界面
默認路徑:http://localhost:15672
默認登錄用戶:guest/guest
2.6)創(chuàng)建用戶鲤竹,密碼片拍,綁定角色
查看已有用戶列表:rabbitmqctl.bat list_users
新增用戶:rabbitmqctl.bat add_user username password
綁定角色:rabbitmqctl.bat set_user_tags username administrator/monitoring/policymaker/management(超級管理員/監(jiān)控者/策略制定者/普通管理者)