RabbitMQ下载与安装
想要使用RabbitMQ首先要有Erlang/OTP的运行环境,也就是说首先要下载erlang
在下载Erlang/OTP之前,需要弄清楚RabbitMQ和ErLang之间的版本对应关系。
The table below provides an Erlang compatibility matrix of currently supported RabbitMQ release series. For RabbitMQ releases that have reached end of life,
RabbitMQ version | Minimum required Erlang/OTP | Maximum supported Erlang/OTP | Notes |
---|---|---|---|
- 3.12.0 | - 25.0 | - 26.0 | - This release series is compatible wtih Erlang 26. - OpenSSL 3.0 support in Erlang is considered to be mature enough for production. |
- 3.11.18 - 3.11.17 - 3.11.16 - 3.11.15 - 3.11.14 - 3.11.13 - 3.11.12 - 3.11.11 - 3.11.10 - 3.11.9 - 3.11.8 - 3.11.7 - 3.11.6 - 3.11.5 - 3.11.4 - 3.11.3 - 3.11.2 - 3.11.1 - 3.11.0 |
- 25.0 | - 25.3.x | - Erlang 26 introduces a number of breaking changes related to networking and TLS. RabbitMQ compatibility with Erlang 26 will be announced separately. - As of Erlang 25.1, OpenSSL 3.0 support in Erlang is considered to be mature enough for production. - Erlang 25 before 25.0.2 is affected by CVE-2022-37026, a CVE with critical severity (CVSS 3.x Base Score: 9.8) |
- 3.10.24 - 3.10.23 - 3.10.22 - 3.10.21 - 3.10.20 - 3.10.19 |
- 24.3.4.8 | - 25.3.x | - 24.3 is the only maintained (updated) series of Erlang 24. - As of Erlang 25.1, OpenSSL 3.0 support in Erlang is considered to be mature enough to consider for production. - Erlang 25 before 25.0.2 and 24 before 24.3.4.2 are affected by CVE-2022-37026, a CVE with critical severity (CVSS 3.x Base Score: 9.8) |
- 3.10.18 - 3.10.17 - 3.10.16 - 3.10.14 |
- 24.3 | - 25.2 | - 24.3 is the only maintained (updated) series of Erlang 24. - As of Erlang 25.1, OpenSSL 3.0 support in Erlang is considered to be mature enough to consider for production. - Erlang 25 before 25.0.2 and 24 before 24.3.4.2 are affected by CVE-2022-37026, a CVE with critical severity (CVSS 3.x Base Score: 9.8) |
- 3.10.13 - 3.10.12 - 3.10.11 - 3.10.10 - 3.10.9 - 3.10.8 |
- 24.2 | - 25.2 | - As of Erlang 25.1, OpenSSL 3.0 support in Erlang is considered to be mature enough to consider for production. - Erlang 25 before 25.0.2 and 24 before 24.3.4.2 are affected by CVE-2022-37026, a CVE with critical severity (CVSS 3.x Base Score: 9.8) |
- 3.10.7 - 3.10.6 - 3.10.5 |
- 23.2 | - 25.2 | - Erlang 25 is the recommended series. - Erlang 25 before 25.0.2 and 24 before 24.3.4.2 are affected by CVE-2022-37026, a CVE with critical severity (CVSS 3.x Base Score: 9.8) - Erlang 23 support was discontinued on July 31st, 2022. |
- 3.10.4 - 3.10.2 - 3.10.1 - 3.10.0 |
- 23.2 | - 24.3 | - Erlang 24.3 is the recommended series. - Erlang 23 support was discontinued on July 31st, 2022. |
我这里下载RabbitMQ的3.10.13版本,所以下载ErLang的24.2版本
下载链接:Otp 24.2 - Erlang/OTP
我这里选择windows的64位下载。下载好后会得到.exe文件
ErLang安装步骤
安装完成。
配置ErLang环境变量
输入erl -version出现如下信息,就说明ErLang安装完成,并且环境变量配置成功了
然后下载RabbitMQ。下载链接:Release RabbitMQ 3.10.13 · rabbitmq/rabbitmq-server · GitHub
下载完成,得到一个可执行的.exe文件,运行此文件。
RabbitMQ安装步骤
然后就ok了,顺便附上官方安装文档:https://rabbitmq.com/install-windows.html
找到安装目录,然后进入sbin目录
C:\Program Files\RabbitMQ Server\rabbitmq_server-3.10.13\sbin
然后输入rabbitmqctl.bat status,然后就报错了。
解决办法:RabbitMQ报错:unable to perform an operation on node ‘rabbit@xxx‘. Please see diagnostics…的解决方法_what_FFFF的博客-CSDN博客
我的解决办法是先在控制台输入:
rabbitmq-service.bat stop
然后:
rabbitmq-service.bat start
然后访问:http://127.0.0.1:15672/
我发现访问不了,解决办法是,控制台输入:文章来源:https://www.toymoban.com/news/detail-495367.html
rabbitmq-plugins.bat enable rabbitmq_management
看到有如下提示,就OK了
再次浏览器进入http://127.0.0.1:15672/
到此为止就算安装完成了。文章来源地址https://www.toymoban.com/news/detail-495367.html
到了这里,关于RabbitMQ下载与安装的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!