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. Command Introduction The date command is used ...
This article shares the installation and configur...
As a commonly used database, MySQL requires a lot...
Table of contents 1. Download MySQL 1.1 Download ...
1. Error error connecting to master 'x@xxxx:x...
Add table fields alter table table1 add transacto...
Table of contents 1. First, configure the main.js...
The mysql on a server in the computer room had be...
1. Send effect HTML <div id="send-btn&quo...
A few days ago, a colleague asked me a question a...
What is SQL? SQL is a language used to operate da...
Declaring variables Setting Global Variables set ...
Vue $set array collection object assignment In th...
CentOS7 is used here, and the kernel version is [...
Table of contents Code Optimization Using key in ...