(1) Preparations for using the series of surging for the surging microservice framework rabbitmq installation and surgingrabbitmq

Source: Internet
Author: User

(1) Preparations for using the series of surging for the surging microservice framework rabbitmq installation and surgingrabbitmq

(1) download erlang:

Http://www.erlang.org/download/otp_win64_17.3.exe and Installation

(2) download RabbitMQ:

Http://www.rabbitmq.com/and Installation

 

(3)After downloading and installing the service, find the Service Startup option and enable the rabbitmq service.

So far, the rabbitqm service has been successfully started.

(4)To enable the management backend of rabbitmq, you must enable

Go to the sbin directory in the rabbitmq installation directory and execute

Rabbitmq-plugins enable rabbitmq_management

Restart the rabbitmq service to take effect.

Open http: // localhost: 15672/to view the management background (the default username and password are both guest and guest cannot be used for remote access)

 

 (5)Configure the remote connection of rabbitmq

In the web Console

  

Add a user to the admin tab, set your username and password, select admin for permissions, and click adduser

Then configure to Add User Permissions

  

Click the user you just set and set the permission. The default value is enough.

Then add {tcp_listeners, [5672]}, {loopback_users, ["test"]} in the configuration file, and the command can be accessed remotely.

  

OK. The installation and configuration of rabbitmq have been completed.

(6) rabbitmq configuration in surging

The configuration file eventBusSettings. json is required in the server and client created by using surging.

Server: EventBusConnection: Address of the rabbitmq connection, EventBusUserName: User Name of rabbitmq, and password of the username of EventBusPasswod: rabbitmq.

Client:, you only need to configure the rabbit connection address.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.