RabbitMQ安装步骤
RabbitMQ安装步骤详解,具体操作如下:
docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.13-
management
docker run -itd --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.13-
management
docker run -itd --name rabbitmq -v /my/own/path:/var/lib/rabbitmq -p 5672:5672 -p
15672:15672 rabbitmq:3.13-management
docker Compose
version: '3'
services:
rabbitmq3:
container_name: "rabbitmq"
image: rabbitmq:3.13-management
environment:
- RABBITMQ_DEFAULT_USER=root
- RABBITMQ_DEFAULT_PASS=123456
ports:
# AMQP protocol port
- '5672:5672'
# HTTP management UI
- '15672:15672'
volumes:
- ./rabbitmq_data:/var/lib/rabbitmq
windows
下载地址:
https://www.rabbitmq.com/docs/install-windows#chocolatey
Macos
下载地址
:
https://www.rabbitmq.com/docs/install-standalone-mac
RabbitMQ
可视化控制台访问:
http://localhost:15672/
用户名:
guest
密码:
guest
RabbitMQ实战代码讲解RabbitMQ高并发秒杀、抢购系统、预约系统底层实现逻辑学习见以下视频:
RabbitMQ介绍、解耦、提速、削峰、分发 详解、RabbitMQ安装 可视化界面讲解