安装rabbitmq
1: 安装RabbitMQ需要先安装Erlang语言开发包。下载地址 http://www.erlang.org/download.html
配置环境变量 ERLANG_HOME D:\Program Files\erl9.1
添加到PATH %ERLANG_HOME%\bin;
2:安装RabbitMQ 下载地址 http://www.rabbitmq.com/download.html
配置环境变量 RABBITMQ_SERVER D:\Program Files\rabbitmq_server-3.6.6
添加到PATH %RABBITMQ_SERVER%\sbin;
3:安装为windows服务\sbin\rabbitmq-service.bat install
4: 启动节点 \sbin\rabbitmqctl.bat start_app
5:出错[Authentication failed (rejected by the remote node), please check the Erlang cookie],将C:\WINDOWS\.erlang.cookie 覆盖掉C:\Documents and Settings\{{用户}}\.erlang.cookie
6:通过cmd 进入%RABBITMQ_SERVER%\sbin 目录以管理员身份运行 rabbitmq-plugins.bat
命令如下:rabbitmq-plugins.bat enable rabbitmq_management(安装本地服务器界面的插件)
7:http://127.0.0.1:15672访问管理界面