RabbitMQ安装记录(windows10)

RabbitMQ安装记录(windows10)

 

一、安装包准备

otp_win64_R16B03.exe(这里使用该版本,不支持ssl)

otp_win64_19.0.exe(如果要开启ssl,请下载该版本)

rabbitmq-server-3.6.6.exe

 

二、安装

分别安装erlang,rabbitmq

 

三、启动

在服务中能找到RabbitMQ,直接启动服务即可。

注意,这个时候的web管理UI是不能访问的,还没有启动,看下面。

 

windows使用如下命令查看端口是否启动:

netstat -aon|findstr "15672"

 

四、启用web管理UI

使用插件方式启动,分别执行下面的命令:

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.6\sbin>rabbitmq-plugins enable rabbitmq_management

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.6\sbin>rabbitmq-plugins enable mochiweb

如果是禁用的话:

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.6.6\sbin>rabbitmq-plugins disable mochiweb

 

五、web管理UI访问

URL:http://localhost:15672

登录账号:guest,密码:guest

 

六、端口使用情况,引用官网

Firewalls and other security tools may prevent RabbitMQ from binding to a port. When that happens, RabbitMQ will fail to start. Make sure the following ports can be opened:


4369 (epmd)
5672, 5671 (AMQP 0-9-1 and 1.0 without and with TLS)
25672. This port used by Erlang distribution for inter-node and CLI tools communication and is allocated from a dynamic range (limited to a single port by default, computed as AMQP port + 20000). See networking guide for details.
15672 (if management plugin is enabled)
61613, 61614 (if STOMP is enabled)
1883, 8883 (if MQTT is enabled)
It is possible to configure RabbitMQ to use different ports.

 

七、相关命令

显示所有插件及状态:rabbitmq-plugins list

启动服务:rabbitmq-service start

停止服务:rabbitmq-service stop

转载于:https://www.cnblogs.com/hushuning/p/7943943.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值