Win10部署安装Erlang和RabbitMQ 绿色版

本文在OTP22.2和RabbitMQ3.8.2上验证通过

 

1. 到https://download.csdn.net/download/skykingf/12184554下载压缩包文件,下载完成后解压到D盘根目录(D:\),不要解压到其他目录

 

2. 系统环境变量里,新建ERLANG_HOME环境变量,并设置为D:\erl

     修改系统PATH变量,添加%ERLANG_HOME%\bin到PATH中。

 点击确定应用之后,这时命令提示行输入erl,就能看到如下提示

Eshell V10.6  (abort with ^G)

表示ErLang运行环境已经配置成功。

 

3. 修改系统PATH变量,添加D:\rabbitmq\sbin到PATH中。

4. 命令行提示符界面,输入rabbitmq-plugins enable rabbitmq_management,启用管理界面插件,成功后提示如下

C:\Users\skyking>rabbitmq-plugins enable rabbitmq_management
Enabling plugins on node rabbit@TP-T430s:
rabbitmq_management
The following plugins have been configured:
  rabbitmq_management
  rabbitmq_management_agent
  rabbitmq_web_dispatch
Applying plugin configuration to rabbit@TP-T430s...
The following plugins have been enabled:
  rabbitmq_management
  rabbitmq_management_agent
  rabbitmq_web_dispatch
 
set 3 plugins.
Offline change; changes will take effect at broker restart.

 

5. 命令提示行界面输入rabbitmq-server,即可启用rabbitmq服务端,成功执行后提示如下

C:\Users\skyking>rabbitmq-server
 
  ##  ##      RabbitMQ 3.8.2
  ##  ##
  ##########  Copyright (c) 2007-2019 Pivotal Software, Inc.
  ######  ##
  ##########  Licensed under the MPL 1.1. Website: https://rabbitmq.com
 
  Doc guides: https://rabbitmq.com/documentation.html
  Support:    https://rabbitmq.com/contact.html
  Tutorials:  https://rabbitmq.com/getstarted.html
  Monitoring: https://rabbitmq.com/monitoring.html
 
  Logs: C:/Users/skyking/AppData/Roaming/RabbitMQ/log/[email protected]
        C:/Users/skyking/AppData/Roaming/RabbitMQ/log/rabbit@TP-T430s_upgrade.log
 
  Config file(s): (none)
 
  Starting broker... completed with 3 plugins.


 

6. 管理界面,使用http://127.0.0.1:15672/登录,用户名guest,密码guest,登录成功后显示如下截图

Win10部署安装Erlang和RabbitMQ 绿色版_第1张图片

 

 

 

 

 

 

本环境在win10 x64 v1909验证通过
 

你可能感兴趣的:(Windows)