mac下载rabbitmq
brew install rabbitmq
启动
brew services start rabbitmq
配置项
进入sbin目录
cd /usr/local/Cellar/rabbitmq/3.7.12/sbin
添加账号
./rabbitmqctl add_user rabbit rabbit
添加访问权限
./rabbitmqctl set_permissions -p “/” rabbit “." ".” “.*”
设置超管权限
./rabbitmqctl set_user_tags rabbit administrator
欢迎大家交流学习,任何问题都可以留言