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
Box-sizing in CSS3 (content-box and border-box) T...
There are two ways to deploy Angular projects wit...
1. Overview The image in Docker is designed in la...
Table of contents 1. Parameters that determine ca...
This article takes Centos7.6 system and Oracle11g...
We can use the scp command of Linux (scp cannot b...
Core code -- Below I will demonstrate the impleme...
As a commonly used database, MySQL requires a lot...
Table of contents Business requirements: Solution...
Hello everyone, I am Liang Xu. As we all know, in...
Open the scheduled task editor. Cent uses vim to ...
Currently, almost all large websites and applicat...
Table of contents 1. Simple page example 2.uni-ap...
To view the version and tag of the image, you nee...
When I created a Docker container today, I accide...