win10 local installation rabbitmq

                                                                win10 local installation rabbitmq

    The recording step in the installation of RabbitMQ win10 environment, to prevent forgetting.

First, download and install erlang

    1, reason: RabbitMQ server code is written in Erlang language concurrent use, installation Rabbit MQ premise is to install Erlang.

        Download: http://www.erlang.org/downloads

    2, if not installed Erlang, installed directly rabbitmq_server, is given as follows

    3, erlang downloaded the icon is this: the default installation path to the C drive, C drive is the system tray, it is recommended to install another disk

    4, configure the environment variables

        Configuration at the system environment variables: Computer -> right-click -> Advanced System Settings -> Environment Variables -> System Variables -> Path-> Edit -> New -> D: \ Program Files \ erl10.6 \ bin OK - > OK -> OK

    5, check whether the configuration environment variable

        win + r -> Input cmd -> input erl -> Enter

 

Second, download and install RabbitMQ

    1. Download: http: //www.rabbitmq.com/download.html

    2, the installation is not recommended for installation on the C drive

    3, configure the environment variables

        Configuration at the system environment variables: Computer -> right-click -> Advanced System Settings -> Environment Variables -> System Variables -> Path-> Edit -> New -> D: \ Program Files \ RabbitMQ Server \ rabbitmq_server-3.8. 3 \ sbin OK -> OK -> OK

    4, the installation rabbitmq-plugins

    Win+r -> 输入 cmd

    #切换到D盘

        d:

    #指定到rabbit安装目录

        cd D:\Program Files\RabbitMQ Server\rabbitmq_server-3.8.3\sbin

    #安装rabbitmq-plugins可视化工具

        rabbitmq-plugins enable rabbitmq_management

    #启动rabbitmq-service

        rabbitmq-service.bat start

    #关闭服务

    rabbitmq-service.bat stop

5, local access

    http://localhost:15672/#/

    The default user name and password are guest

6, problems encountered

    1), the implementation of rabbitmq-service.bat start failed to start prompt:

发生系统错误 5。

拒绝访问。

        Open cmd.exe with administrator privileges

        In the C: \ Windows \ System32 \ cmd.exe right mouse button to open an administrator

    2)、执行 rabbitmq-plugins enable rabbitmq_management

        报错 Could not contact node rabbit@[machine_name]" after upgrading to RabbitMQ 3.6.5

        After re-installed version of the high rabbitmq-server-3.8.3, this problem does not arise.

Published 215 original articles · won praise 36 · Views 150,000 +

Guess you like

Origin blog.csdn.net/qq_36025814/article/details/104802097