当前位置:   article > 正文

RabbitMQ之Window中安装配置与使用_rabbitmq window 安装

rabbitmq window 安装

RabbitMQ之Window中安装配置与使用

官网:https://www.rabbitmq.com

下载地址:https://www.rabbitmq.com/download.html

erLang依赖包官网:https://erlang.org/download/otp_versions_tree.html

erLang直接下载地址:http://erlang.org/download/otp_win64_23.0.1.exe

1 安装准备

  1. RabbitMQ是由ErLang语言开发的,安装前需要先安装ErLang语言开发包;
  2. 官网下载ErLan与RabbitMQ-Server,如本次安装的版本为分别为otp_win64_23.0.1.exerabbitmq-server-3.8.4.exe

1.1 安装Erlang

将下载后的 otp_win64_23.0.1.exe,以管理员身份运行并根据提示安装即可

1.2 ErLnag环境变量配置

  1. 在系统变量中新增环境变量

ERLANG_HOME=D:\Program Files\erl-23.0.1

2. 安装RabbitMQ

2.1 安装

将下载后的rabbitmq-server-3.8.4.exe,以管理员身份运行并根据提示安装即可

2.2 环境变量设置

RABBITMQ_SERVER=D:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.4

path后追加 %RABBITMQ_SERVER%\sbin

  1. 查看rabbitmq已安装的插件

命令:rabbitmq-plugins list

C:\Users\Administrator>rabbitmq-plugins list
Listing plugins with pattern ".*" ...
 Configured: E = explicitly enabled; e = implicitly enabled
 | Status: * = running on rabbit@ZJYI405D3B6S0X4
 |/
[  ] rabbitmq_amqp1_0                  3.8.4
[  ] rabbitmq_auth_backend_cache       3.8.4
[  ] rabbitmq_auth_backend_http        3.8.4
[  ] rabbitmq_auth_backend_ldap        3.8.4
[  ] rabbitmq_auth_backend_oauth2      3.8.4
[  ] rabbitmq_auth_mechanism_ssl       3.8.4
[  ] rabbitmq_consistent_hash_exchange 3.8.4
[  ] rabbitmq_event_exchange           3.8.4
[  ] rabbitmq_federation               3.8.4
[  ] rabbitmq_federation_management    3.8.4
[  ] rabbitmq_jms_topic_exchange       3.8.4
[  ] rabbitmq_management               3.8.4
[  ] rabbitmq_management_agent         3.8.4
[  ] rabbitmq_mqtt                     3.8.4
[  ] rabbitmq_peer_discovery_aws       3.8.4
[  ] rabbitmq_peer_discovery_common    3.8.4
[  ] rabbitmq_peer_discovery_consul    3.8.4
[  ] rabbitmq_peer_discovery_etcd      3.8.4
[  ] rabbitmq_peer_discovery_k8s       3.8.4
[  ] rabbitmq_prometheus               3.8.4
[  ] rabbitmq_random_exchange          3.8.4
[  ] rabbitmq_recent_history_exchange  3.8.4
[  ] rabbitmq_sharding                 3.8.4
[  ] rabbitmq_shovel                   3.8.4
[  ] rabbitmq_shovel_management        3.8.4
[  ] rabbitmq_stomp                    3.8.4
[  ] rabbitmq_top                      3.8.4
[  ] rabbitmq_tracing                  3.8.4
[  ] rabbitmq_trust_store              3.8.4
[  ] rabbitmq_web_dispatch             3.8.4
[  ] rabbitmq_web_mqtt                 3.8.4
[  ] rabbitmq_web_mqtt_examples        3.8.4
[  ] rabbitmq_web_stomp                3.8.4
[  ] rabbitmq_web_stomp_examples       3.8.4

C:\Users\Administrator>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  1. 开启rabbitmq后台管理平台插件

命令:rabbitmq-plugins enable rabbitmq_management

C:\Users\Administrator>rabbitmq-plugins enable rabbitmq_management
Enabling plugins on node rabbit@ZJYI405D3B6S0X4:
rabbitmq_management
The following plugins have been configured:
  rabbitmq_management
  rabbitmq_management_agent
  rabbitmq_web_dispatch
Applying plugin configuration to rabbit@ZJYI405D3B6S0X4...
The following plugins have been enabled:
  rabbitmq_management
  rabbitmq_management_agent
  rabbitmq_web_dispatch

started 3 plugins.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  1. 打开浏览器使用下面地址访问:

http://localhost:15672/

_agent
rabbitmq_web_dispatch

started 3 plugins.


3. 打开浏览器使用下面地址访问:

http://localhost:15672/

默认用户名/密码:guest/guest
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/808681
推荐阅读
相关标签
  

闽ICP备14008679号