本次安装环境win10,采用版本 OTP 25.0.3https://github.com/erlang/otp/releases/tag/OTP-25.0.3RabbitMQ 3.10.13
Release RabbitMQ 3.10.13 · rabbitmq/rabbitmq-server · GitHubOpen source RabbitMQ: core server and tier 1 (built-in) plugins - Release RabbitMQ 3.10.13 · rabbitmq/rabbitmq-serverhttps://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.10.13
一、Erlang环境变量
ERLANG_HOME=D:\MyProgram\Erlang OTP
path中添加:%ERLANG_HOME%\bin
命令:erl -v
二、RabbitMQ环境变量
RABBITMQ_SERVER=D:\MyProgram\RabbitMQ Server
path中添加:%RABBITMQ_SERVER%\sbin
命令:
rabbitmqctl status
rabbitmq-plugins enable rabbitmq_management
三、地址访问
http://localhost:15672/ 账号和密码:guest
四、常用命令
rabbitmqctl stop :停止rabbitmq
rabbitmq-server restart : 重启rabbitmq
win10安装后,无法访问15672解决:
运行命令:
(1) rabbitmq-plugins enable rabbitmq_management
(2)rabbitmqctl start_app
如果还是无法访问,可尝试如下步骤:
复制C:\Windows\System32\config\systemprofile\.erlang.cookie 到 C:\Users\dell\.erlang.cookie
参照文章:
超详细!!!Windows下安装RabbitMQ的步骤详解_Shmily.南风的博客-CSDN博客_windows安装rabbit