0


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. 开启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. 打开浏览器使用下面地址访问:

http://localhost:15672/

_agent
rabbitmq_web_dispatch

started 3 plugins.


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

http://localhost:15672/

默认用户名/密码:guest/guest
标签: rabbitmq ruby 分布式

本文转载自: https://blog.csdn.net/yuanjinshenglife/article/details/135863713
版权归原作者 小袁搬码 所有, 如有侵权,请联系我们删除。

“RabbitMQ之Window中安装配置与使用”的评论:

还没有评论