【RabbitMQ】3、win7下安装RabbitMQ
2021-05-02 12:27
标签:gen serve manage sbin host 环境 erlang win7 play RabbitMQ依赖erlang,所以先安装erlang,然后再安装RabbitMQ; erlang,下载地址:http://www.erlang.org/download 先安装erlang,双击erlang的安装文件即可,然后配置环境变量: 验证erlang是否安装成功, 打开cmd命令窗口,进入erlang的bin路径,输入erl命令,如果出现如下提示,则说明erlang安装成功: 再安装RabbitMQ,双击安装文件即可,安装完毕后, 设置环境变量: 验证RabbitMQ是否安装成功,在CMD命令窗口输入: C:\Windows\system32>rabbitmq-service 如出现以上命令的解释,则说明安装成功; 然后安装服务,打开cmd窗体,进入D:\Program Files\RabbitMQ Server\rabbitmq_server-3.5.6\sbin路径,然后执行 rabbitmq-service start启动: 提示启动成功; 然后安装web管理插件,执行命令如下: 出现以上提示,说明安装成功,可以通过访问http://localhost:15672进行测试,默认的登陆账号为:guest,密码为:guest。 【RabbitMQ】3、win7下安装RabbitMQ 标签:gen serve manage sbin host 环境 erlang win7 play 原文地址:http://www.cnblogs.com/wangzhongqiu/p/7765692.html
ERLANG_HOME=D:\Program Files\erl7.1
追加到path=%ERLANG_HOME%\bin;
D:\Program Files\erl7.1\bin>erl
Eshell V7.1 (abort with ^G)
RABBITMQ_SERVER=D:\Program Files\RabbitMQ Server\rabbitmq_server-3.5.6
追加到path=%RABBITMQ_SERVER%\sbin;*********************
Service control usage
*********************
rabbitmq-service help - Display this help
rabbitmq-service install - Install the RabbitMQ service
rabbitmq-service remove - Remove the RabbitMQ service
The following actions can also be accomplished by using
Windows Services Management Console (services.msc):
rabbitmq-service start - Start the RabbitMQ service
rabbitmq-service stop - Stop the RabbitMQ service
rabbitmq-service disable - Disable the RabbitMQ service
rabbitmq-service enable - Enable the RabbitMQ service
D:\Program Files\RabbitMQ Server\rabbitmq_server-3.5.6\sbin>rabbitmq-service sta
rt
D:\Program Files\erl7.1\erts-7.1\bin\erlsrv: Service RabbitMQ started.
D:\Program Files\RabbitMQ Server\rabbitmq_server-3.5.6\sbin>rabbitmq-plugins enable rabbitmq_management
The following plugins have been enabled:
mochiweb
webmachine
rabbitmq_web_dispatch
amqp_client
rabbitmq_management_agent
rabbitmq_management
Applying plugin configuration to rabbit@GUOY... started 6 plugins.
文章标题:【RabbitMQ】3、win7下安装RabbitMQ
文章链接:http://soscw.com/index.php/essay/81328.html