abbitMQ is an open source (MPL) message queue service software, is a Advanced Message Queuing Protocol (AMQP) open source implementation provided by LShift, a high-performance, robust and scalable known Erlang written. --- Source wikipedia
The first step: installing software
1. First download and install the software OTP (similar Java-jdk) based on erlang language support, Fool installed on the line (up click next)
Download: https://www.erlang.org/downloads (otp_win64_22.0.exe)
2.rabbitMQ download and install software, Fool installed on the line (up click next)
Download: https://www.rabbitmq.com/install-windows.html (RabbitMQ-Server-3.7.17.exe, Recommended / recommended)
Step two: the environment variable configuration (dynamic setting)
1.erlang
2.rabbitMQ-server
3.Path
The third step: to test whether the installation is successful
1.erlang
Input: ERL
2.rabbitMQ_server
Input: rabbitmqctl Status
As shown above, the installation was successful
Step four: Install RabbitMQ visualization plug-ins
1. Enter the command: RabbitMQ plugins-enable rabbitmq_management
2. Enter the URL: http://127.0.0.1:15672/ or HTTP: // localhost: 15672 / , log in, the default user name and password are guest
2. After a successful login looks
Step five: rabbitMQ commonly used commands (referenced blog: https: //blog.csdn.net/m0_37479246/article/details/84841519)
Start Monitoring Manager: rabbitmq-plugins enable rabbitmq_management
Close monitoring manager: rabbitmq-plugins disable rabbitmq_management
Start rabbitmq: rabbitmq-service start
Close rabbitmq: rabbitmq-service stop
View all queues: rabbitmqctl list_queues
Clear all queues: rabbitmqctl reset
Close the application: rabbitmqctl stop_app
Start the application: rabbitmqctl start_app
[User and permission settings]
Add User: rabbitmqctl add_user username password
Assign roles: rabbitmqctl set_user_tags username administrator
New Web Hosting: rabbitmqctl add_vhost vhost_name
The new virtual host licenses to new users: rabbitmqctl set_permissions -p vhost_name username '*' '*.'. '*.'
[Role Description]
none of least privilege roles
management administrator role
policymaker policymakers
monitoring surveillance
Super administrator Management