RabbitMQ3.7.6安裝與配置(windows)

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運(yùn)行狀態(tài):

執(zhí)行命令 “rabbitmqctl?status”?

發(fā)現(xiàn)錯(cuò)誤如: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 即可;

正常運(yùn)行的狀態(tài)

2.3)激活?RabbitMQ's Management Plugin

rabbitmq-plugins.bat enable rabbitm q_management

2.4)啟動(dòng)RabbitMQ服務(wù)

點(diǎn)擊運(yùn)行

2.5)訪問RabbitMQ管理界面

默認(rèn)路徑:http://localhost:15672

默認(rèn)登錄用戶: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(超級(jí)管理員/監(jiān)控者/策略制定者/普通管理者)

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容