C:\Users\flycatony> cd C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.2\sbinC:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.2\sbin>rabbitmq-plugins enable rabbitmq_management Enabling plugins on node [email protected]: rabbitmq_management The following plugins have been configured: rabbitmq_management rabbitmq_management_agent rabbitmq_web_dispatch Applying plugin configuration to [email protected]... The following plugins have been enabled: rabbitmq_management rabbitmq_management_agent rabbitmq_web_dispatch set 3 plugins. Offline change; changes will take effect at broker restart.
C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.2\sbin>rabbitmq-server
"WARNING: Using RABBITMQ_ADVANCED_CONFIG_FILE: C:\Users\flycatony\AppData\Roaming\RabbitMQ\advanced.config"
## ## RabbitMQ 3.8.2
## ##
########## Copyright (c) 2007-2019 Pivotal Software, Inc.
###### ##
########## Licensed under the MPL 1.1. Website: https://rabbitmq.com
Doc guides: https://rabbitmq.com/documentation.html
Support: https://rabbitmq.com/contact.html
Tutorials: https://rabbitmq.com/getstarted.html
Monitoring: https://rabbitmq.com/monitoring.html
Logs: C:/Users/wanglifu/AppData/Roaming/RabbitMQ/log/[email protected]
C:/Users/wanglifu/AppData/Roaming/RabbitMQ/log/[email protected]_upgrade.log
Config file(s): c:/Users/flycatony/AppData/Roaming/RabbitMQ/advanced.config
Starting broker... completed with 3 plugins.
1.去官方网站下载rabbitmq安装程序:https://www.rabbitmq.com/
2.安装过程中要求先安装ERLANG支持,这里需要找对应的版本(我下的是MQ3.8.2→opt21.3 的win64)
3.按提示完成安装后,进入配置环节。命令行操作即可。
①进入安装目录下的sbin,我的是(C:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.2\sbin)
②执行:rabbitmq-plugins enable rabbitmq_management
③开启服务:rabbitmq-server
4.打开浏览器进行配置
①通过浏览器打开:http://localhost:15672
②默认用户名及密码:guest/guest
5.详细配置参阅:
https://www.cnblogs.com/kaishirenshi/p/12132703.html
https://blog.csdn.net/w1316022737/article/details/86232042
原文地址:https://www.cnblogs.com/flycatony/p/12430836.html