RabbitMQ Article 1: setup and configuration of rabbitMQ and rabbitmq Article 1

Source: Internet
Author: User
Tags rabbitmq

RabbitMQ Article 1: setup and configuration of rabbitMQ and rabbitmq Article 1

Install rabbitMQ in Windows

Step 1: Install software

If rabbitMQ is installed, first install OTP software based on the erlang language, and then download the rabbitMQ software for installation (the installation process is the next step, which is not mentioned here)

Step 2: Configure Environment Variables

If you want to configure environment variables after the installation is complete, first configureERLANG_HOMEFor example, the variable value is the path of your otp software)

Then in the configurationRABBITMQ_SERVERFor example, the variable value is the installation path of rabbitMQ)

Final ProgressPathFor example, (the path value is % ERLANG_HOME % \ bin; % RABBITMQ_SERVER % \ sbin; note that it is append)

Step 3: Start the monitoring manager

Find the path for installing rabbitMQ and switch to the sbin folder.

Enter the rabbitmq-plugins enable rabbitmq_management command to start the monitoring manager.

Then, enter http: localhost: 15672 in the browser. The username and password are both guest by default.

In this way, we have installed it.

Step 4: Use common commands of rabbitMQ to start monitoring manager: rabbitmq-plugins enable rabbitmq_management disable monitoring manager: rabbitmq-plugins disable rabbitmq_management start rabbitmq: rabbitmq-service start disable rabbitmq: rabbitmq-service stop view all Queues: rabbitmqctl list_queues clear all Queues: rabbitmqctl reset close application: rabbitmqctl stop_app start application: rabbitmqctl start_app

User and permission settings (for later use)

Add User: rabbitmqctl add_user username password assign role: rabbitmqctl modify username administrator add Virtual Host: rabbitmqctl add_vhost vhost_name authorize new virtual host to new user: rabbitmqctl set_permissions-p vhost_name username '. *''. *''. *'

Role description

None minimum permission role management administrator role policymaker decision maker monitoring administrator Super administrator

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.