当前位置:首页 > 操作系统 > Windows

Windows10环境下的RabbitMQ安装

Windows10环境下的RabbitMQ安装

首先安装 ERlang语言,再安装 rabbitmq-server(有绿色免安装版和安装版)

安装ERlang

https://www.erlang.org/

Windows10环境下的RabbitMQ安装 - 文章图片

OTP 23.2 Release
Written by Henrik, 16 Dec 2020

Erlang/OTP 23.2 is the second maintenance patch release for OTP 23, with mostly bug fixes as well as a few improvements.

A few of the changes and highlights are:

SSL

Handle extraneous certs in certificate chains as well as chains that are incomplete but can be reconstructed or unordered chains. The cert and certfile options will now accept a list of certificates so that the user may specify the chain explicitly.

Potential incompatibility

stdlib

Improved the API and documentation of the uri_string module. Added a new chapter to the Users Guide about Uniform Resource Identifiers and their handling with the new API. Added two new API functions: uri_string:allowed_characters/0 and uri_string:percent_decode/1.

This change has been marked as potentially incompatible as uri_string:normalize/2 used to decode percent-encoded character triplets that corresponded to characters not in the reserved set. After this change, uri_string:normalize/2 will only decode those percent-encoded triplets that correspond to characters in the unreserved set (ALPHA / DIGIT / "-" / "." / "_" / "~").

A full list of bug fixes and improvements in the readme.

Download and documentation

Online documentation can be browsed here:
https://erlang.org/documentation/doc-11.1.4/doc

Pre-built versions for Windows can be fetched here:
https://erlang.org/download/otp_win32_23.2.exe
https://erlang.org/download/otp_win64_23.2.exe 本机对应版本下载安装

The Erlang/OTP source can also be found at GitHub on the official Erlang repository:
https://github.com/erlang/otp

配置环境变量

此电脑-->鼠标右键“属性”-->高级系统设置-->环境变量-->“新建”系统环境变量,变量名:ERLANG_HOME ,变量值为你的erlang安装目录(D:deverl-23.2)
Windows10环境下的RabbitMQ安装 - 文章图片

将%ERLANG_HOME%bin加入到path中:

Windows10环境下的RabbitMQ安装 - 文章图片

下载并安装rabbitmq-server

https://www.rabbitmq.com/news.html
Windows10环境下的RabbitMQ安装 - 文章图片

https://github.com/rabbitmq/rabbitmq-server/releases/
Windows10环境下的RabbitMQ安装 - 文章图片

下载免安装版:rabbitmq-server-windows-3.8.11.zip解压到D:dev后即完成安装。

安装RabbitMQ管理后台

进入安装目录:D:devrabbitmq_server-3.8.11sbin执行:rabbitmq-plugins enable rabbitmq_management
Windows10环境下的RabbitMQ安装 - 文章图片

安装rabbitmq-service服务

以管理员身份运行命令:D:devrabbitmq_server-3.8.11sbinabbit-service install

启动rabbit-service:

以管理员身份运行命令:D:devrabbitmq_server-3.8.11sbinabbit-service start

停止rabbit-service:

以管理员身份运行命令:D:devrabbitmq_server-3.8.11sbinabbit-service stop

移除rabbit-service:

以管理员身份运行命令:D:devrabbitmq_server-3.8.11sbinabbit-service remove

测试-通过浏览器访问RabbitMQ管理后台

在浏览器中输入http://127.0.0.1:15672,到RabbitMq首页,账号密码是guest

Windows10环境下的RabbitMQ安装 - 文章图片


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐