作者:席昀2010_445_882 | 来源:互联网 | 2023-07-20 22:02
1,要安装rabbitMQ需要先安装Erlang
下载Erlang 网址:http://www.erlang.org/downloads
1)双击所下载的版本软件 otp_win64_21.0.1.exe,选择next
2)默认安装在C盘,路径可以更改,本人选择安装在D:\ProgramFiles\erl10.0.1,然后next:
3)配置环境变量:在系统变量下添加 变量名:ERLANG_HOME,变量值:D:\ProgramFiles\erl10.0.1
4)在系统环境变量Path中追加变量值:%ERLANG_HOME%\bin
2,安装完Erlang后,再安装rabbitMQ
1)下载RabbitMQ地址:http://www.rabbitmq.com/download.html
点击下载的软件:rabbitmq-server-3.7.7.exe
选择好安装目录,本人安装到:D:\DevSoftware\RabbitMQServer,然后进行安装
2)安装完成后,如下,在电脑左下角显示的菜单中选择RabbitMQ Command Prompt(sbin dir)选项,
或选择RabbitMQ Service -start启动服务,然后执行后面的操作
3)进入目录:D:\DevSoftware\RabbitMQServer\rabbitmq_server-3.7.7\sbin>
执行命令:rabbitmq-plugins enable rabbitmq_management
输出内容如下,然后在浏览器中输入http://localhost:15672输入账户即可进入rabbitmq后台管理页面(默认为guest/guest)
D:\DevSoftware\RabbitMQServer\rabbitmq_server-3.7.7\sbin>rabbitmq-plugins enable rabbitmq_management
Enabling plugins on node rabbit@LAPTOP-PVP81OJJ:
rabbitmq_management
The following plugins have been configured:rabbitmq_managementrabbitmq_management_agentrabbitmq_web_dispatch
Applying plugin configuration to rabbit@LAPTOP-PVP81OJJ...
The following plugins have been enabled:rabbitmq_managementrabbitmq_management_agentrabbitmq_web_dispatchstarted 3 plugins.