一、rabbitmq 安装与配置
安装:
brew install rabbitmq
# 进入安装目录
cd /usr/local/Cellar/rabbitmq/3.7.12
# 启动
brew services start rabbitmq
# 关闭
brew services stop rabbitmq
进入控制台:http://localhost:15672/
用户名和密码:guest,guest
添加账号
username:ljf, pw:123456
Tags:Admin

virtual hosts 管理
virtual hosts 相当于 mysql 的 db

一般以 /
开头
我们得对用户进行授权

之后看添加的用户可访问的 virtual hosts:

网友评论