RabbitMQ installation and configuration in a Win10 environment

1 RabbitMQ environment configuration

1.1 ErLang download and install

    RabbitMQ need ErLang environmental support; first download ErLang and install.
    Is recommended to use the new version, the version is too low and when there is a conflict RabbitMQ version will not support RabbitMQ.
Alt

Figure 1-1.ErLang official website to download map

    Select the installer stop the installation.


FIG Installation Environment FIG 1-2.ErLang

1.2 RabbitMQ download and install

    The official website to download and install RabbitMQ .

Figure 2-1.RabbitMQ official website to download map


Figure 2-2.RabbitMQ Server installation diagram


Figure 2-3.RabbitMQ Server installation diagram

1.3 Configuration Environment Variables

1.3.1 New ERLANG_HOME and RABBITMQ_SERVER

    New System Variable ERLANG_HOME , RABBITMQ_SERVER environment variable value corresponding application installation path.

Figure 3-1.ERLANG_HOME environment variable configuration diagram


Figure 3-2.RABBITMQ_SERVER environment variable configuration diagram

1.3.2 configuration path

    Two new variables % ERLANG_HOME% \ bin and % RABBITMQ_SERVER% \ sbin .

Figure 3-3.Path environment variable configuration diagram

1.4 RabbitMQ Server on and off

    Win + R shortcut open cmd command input window input rabbitmq-service verification environment configuration.

FIG 4-1.RabbitMQ installation environment authentication FIG.

    In the command line window to switch the path to% RABBITMQ_SERVER% \ sbin (sbin file RabbitMQ installation path folder), install plug-ins to enable monitoring and management rabbitmq-plugins enable rabbitmq_management

Figure 4-2.RabbitMQ plug-in installation diagram

    After installing the plugin you need to restart the service.

  • rabbitmq-service stop
  • rabbitmq-service start

    Figure 4-3.RabbitMQ service on and off Fig.

1.5 RabbitMQ management page view

    Management Services default port is 15672, the default administrative account password to the Guest: the Guest
; after RabbitMQ Server is turned on, the local direct access to http: // localhost: 15672

Figure 5-1.RabbitMQ login page map

alt

Figure 5-2.RabbitMQ management page Figure

    The next point to understand the function of RabbitMQ, configuration and management parameters to use.

The End.

Guess you like

Origin www.cnblogs.com/niaonao/p/11528124.html