0
点赞
收藏
分享

微信扫一扫

windows10环境下的RabbitMQ安装步骤

Mhhao 2022-03-25 阅读 73

RabbitMQ服务端代码是使用并发式语言Erlang编写的,安装Rabbit MQ的前提是安装Erlang。

Erlang下载地址:Downloads - Erlang/OTP

需要注意的一点是Rabbit MQ和Erlang有版本匹配,需要下载两者匹配的版本进行安装,否则会出现安装Rabbit MQ失败。

部分版本匹配如下:

Unsupported RabbitMQ SeriesMinimum required Erlang/OTPMaximum supported Erlang/OTPNotes
  • 3.6.16
  • 3.6.15
  • 19.3
  • 20.3.x
  • RabbitMQ 3.6 was released on 2015-12-22, and reached end of life on 2018-05-31, we strongly discourage its use
  • On Windows, Erlang/OTP 20.2 changed default cookie file location
  • Versions prior to 19.3.6.4 have known bugs (e.g. ERL-430, ERL-448) that can prevent RabbitMQ nodes from accepting connections (including from CLI tools) and stopping
  • Versions prior to 19.3.6.4 are vulnerable to the ROBOT attack (CVE-2017-1000385)
  • 3.6.14
  • 3.6.13
  • 3.6.12
  • 3.6.11
  • R16B03
  • 20.1.x
  • RabbitMQ 3.6 was released on 2015-12-22, and reached end of life on 2018-05-31, we strongly discourage its use
  • 3.6.10
  • 3.6.9
  • 3.6.8
  • 3.6.7
  • 3.6.6
  • 3.6.5
  • 3.6.4
  • R16B03
  • 19.3.x
  • RabbitMQ 3.6 was released on 2015-12-22, and reached end of life on 2018-05-31, we strongly discourage its use
  • 3.6.3
  • 3.6.2
  • 3.6.1
  • 3.6.0
  • R16B03
  • 18.3.x
  • RabbitMQ 3.6 was released on 2015-12-22, and reached end of life on 2018-05-31, we strongly discourage its use
  • 3.5.x
  • R14B04
  • 17.5.x
  • RabbitMQ 3.5 was released on 2015-03-11, and reached end of life on 2017-09-11, we strongly discourage its use
  • 3.4.x
  • R13B03
  • 16B03
  • RabbitMQ 3.4 was released 2014-10-21, and reached end of life 2017-05-31, we strongly discourage its us
RabbitMQ versionMinimum required Erlang/OTPMaximum supported Erlang/OTPNotes
  • 3.7.13
  • 3.7.12
  • 3.7.11
  • 3.7.10
  • 3.7.9
  • 3.7.8
  • 3.7.7
  • 20.3.x
  • 21.3.x
  • Erlang/OTP 19.3.x support was discontinued as of Jan 1st, 2019
  • For the best TLS support, the latest version of Erlang/OTP 21.x is recommended
  • On Windows, Erlang/OTP 20.2 changed default cookie file location
  • 3.7.6
  • 3.7.5
  • 3.7.4
  • 3.7.3
  • 3.7.2
  • 3.7.1
  • 3.7.0
  • 19.3
  • 20.3.x
  • For the best TLS support, the latest version of Erlang/OTP 20.3.x is recommended
  • Erlang versions prior to 19.3.6.4 have known bugs (e.g. ERL-430, ERL-448) that can prevent RabbitMQ nodes from accepting connections (including from CLI tools) and stopping
  • Versions prior to 19.3.6.4 are vulnerable to the ROBOT attack (CVE-2017-1000385)
  • On Windows, Erlang/OTP 20.2 changed default cookie file location

 

根据本机位数选择erlang下载版本。

 双击 直接next,进行安装。

安装完成之后需要配置一下环境变量(跟配置java环境变量一致)

此电脑-->鼠标右键“属性”-->高级系统设置-->环境变量-->“新建”系统环境变量

变量名:ERLANG_HOME

变量值就是刚才erlang的安装地址,点击确定。

然后双击系统变量path

点击“新建”,将%ERLANG_HOME%\bin加入到path中。

 

最后windows键+R键,输入cmd,再输入erl,看到版本号就说明erlang安装成功了。

 至此,erlang安装成功!

第二步:下载并安装RabbitMQ

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

 

 

双击下载后的.exe文件,安装过程与erlang的安装过程相同。

RabbitMQ安装好后接下来安装RabbitMQ-Plugins。打开命令行cd,输入RabbitMQ的sbin目录。

输入命令:rabbitmq-plugins enable rabbitmq_management,页面如下说明安装成功。

输入 rabbitmqctl status , 如果出现以下的图,说明安装是成功的,并且说明现在RabbitMQ Server已经启动了,运行正常。

打开sbin目录,双击rabbitmq-server.bat

 

等几秒钟看到这个界面后,访问http://localhost:15672

输入账号:guest 密码:guest

 

 

 成功登录,至此,RabbitMQ安装完成。

官网下载RabbitMq 和erlang 速度较慢,可百度云进行下载哟!

链接:https://pan.baidu.com/s/16Gyu2cai1Sg6o9B4fLudBw 
提取码:valx

每天都要认真工作呀!

 

 

 

 

举报

相关推荐

0 条评论