Single-machine deploymentThis article will demonstrate how to install RabbitMQ using Docker on a CentOS 7 system. Online PullRabbitMQ Mirror docker pull rabbitmq:3-management
View Mirrordocker images Create and run RabbitMQCreate and run RabbitMQ commands: docker run \ -e RABBITMQ_DEFAULT_USER=rabbitmq\ -e RABBITMQ_DEFAULT_PASS=rabbitmq\ --name RabbitMQ\ --hostname mq1 \ -p 15672:15672 \ -p 5672:5672 \ -d \ rabbitmq:3-management Command Explanation:
Create and run the MQ container successfullyCreate Success View running containers docker ps Adding Firewall RulesBecause I use cloud services instead of virtual machines, I need to open ports Disable Linux firewall: # Close systemctl stop firewalld # Disable the firewall from starting up systemctl disable firewalld Access the RabbitMQ management platform portEnter in the browser address bar:
The account password is defined when the container is created: ## Account rabbitmq -e RABBITMQ_DEFAULT_USER=rabbitmq\ ## Password rabbitmq -e RABBITMQ_DEFAULT_PASS=rabbitmq\ OverviewConnections In the future, both Channels Both ExchangesQueuesThe queue is used to store messages. Users user managementThe above are the details of the implementation steps of Docker installation and configuration of RabbitMQ. For more information about Docker installation of RabbitMQ, please pay attention to other related articles on 123WORDPRESS.COM! You may also be interested in:
|
<<: Detailed explanation of CSS3 elastic expansion box
>>: A complete list of commonly used HTML tags and their characteristics
1 / Copy the web project files directly to the we...
1. Compare the old virtual DOM with the new virtu...
I have always been interested in wireless interac...
The tutorial for installing OpenStack Ussuri with...
This article shares the specific code of js+Html ...
1. Space rules Whitespace within HTML code is usu...
Table of contents Why do we need garbage collecti...
Table of contents Single condition single data fi...
<br />From the launch of NetEase's new h...
Table of contents $nextTick() $forceUpdate() $set...
Note: You cannot use scoped animations! ! ! ! via...
Run cmd with administrator privileges slmgr /ipk ...
Usually the goal of building a website is to have...
As the number of visits increases, the pressure o...
MySQL executes SQL through the process of SQL par...