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
Table of contents Preface Installation and Usage ...
This article example shares the specific code of ...
Scenario You need to use the xshell tool to conne...
1. Environmental preparation: Operating system: C...
1. Download MySQL Workbench Workbench is a graphi...
This article example shares the specific code of ...
Deploy nginx with docker, it's so simple Just...
In the previous article, we have implemented loca...
ps: Here is how to disable remote login of root a...
Table of contents 01 Common Faults 1 02 Common Fa...
Preface In Linux kernel programming, you will oft...
Overview This article is a script for automatical...
Table of contents A simple component example More...
1. Space rules Whitespace within HTML code is usu...
MySQL 5.5 installation and configuration method g...