Windows RabbitMQ安装
Windows RabbitMQ安装
安装Erlang
配置环境
ERLANG_HOME
-D:\dev_tools\erl7.1\erts-7.1
path
-%ERLANG_HOME%
安装RabbitMQ
默认端口为15672
配置环境
激活 RabbitMQ's Management Plugin可视化
dos
,输入"?D:\dev_tools\RabbitMQ Server\rabbitmq_server-3.6.5\sbin\rabbitmq-plugins.bat" enable rabbitmq_management
- 完成提示
The following plugins have been enabled: mochiweb webmachine rabbitmq_web_dispatch amqp_client rabbitmq_management_agent rabbitmq_management Applying plugin configuration to rabbit@DESKTOP-5J52E61... started 6 plugins.
- 管理员身份启动服务
net stop RabbitMQ && net start RabbitMQ
创建用户,密码,绑定角色
进入安装目录下的
sbin
cd /d D:\dev_tools\RabbitMQ Server\rabbitmq_server-3.6.5\sbin
- 查看已有用户及用户的角色:
rabbitmqctl.bat list_users
- 新增用户:
rabbitmqctl.bat add_user username password
再次查看用户列表
D:\dev_tools\RabbitMQ Server\rabbitmq_server-3.6.5\sbin>rabbitmqctl.bat list_users Listing users ... rabbit [] guest [administrator]
将用户
rabbit
授权为超级管理员rabbitmqctl.bat set_user_tags rabbit administrator
- 更改用户密码:
rabbitmqctl change_password userName newPassword
- 删除用户:
rabbitmqctl.bat delete_user username
访问地址:http://localhost:15672/
相关推荐
OnMyHeart 2020-07-04
chensen 2020-11-14
lwnylslwnyls 2020-11-06
ATenhong 2020-10-15
yanzhelee 2020-10-13
佛系程序员J 2020-10-10
guojin0 2020-10-08
佛系程序员J 2020-10-08
bluewelkin 2020-09-16
wwzaqw 2020-09-04
zhongdaowendao 2020-09-02
favouriter 2020-08-18
奎因amp华洛 2020-08-15
一青年 2020-08-13
千锋 2020-08-10
nangongyanya 2020-08-09
dongxurr 2020-08-08
明天你好 2020-08-03
kyelu 2020-08-03