Mac下使用Brew安装RabbitMQ
brew install rabbitmq
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/wxmac-3.1.5.big_sur.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/erlang-24.0.3.big_sur.bottle.tar.gz
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/rabbitmq-3.8.19.all.bottle.tar.gz
######################################################################## 100.0%
==> Installing dependencies for rabbitmq: wxmac and erlang
==> Installing rabbitmq dependency: wxmac
==> Pouring wxmac-3.1.5.big_sur.bottle.tar.gz
? /usr/local/Cellar/wxmac/3.1.5: 828 files, 24.7MB
==> Installing rabbitmq dependency: erlang
==> Pouring erlang-24.0.3.big_sur.bottle.tar.gz
? /usr/local/Cellar/erlang/24.0.3: 7,619 files, 483.3MB
==> Installing rabbitmq
==> Pouring rabbitmq-3.8.19.all.bottle.tar.gz
==> Caveats
Management Plugin enabled by default at http://localhost:15672
To have launchd start rabbitmq now and restart at login:
brew services start rabbitmq
Or, if you don't want/need a background service you can just run:
rabbitmq-server
==> Summary
? /usr/local/Cellar/rabbitmq/3.8.19: 116 files, 23.5MB
==> Caveats
==> rabbitmq
Management Plugin enabled by default at http://localhost:15672
To have launchd start rabbitmq now and restart at login:
brew services start rabbitmq
Or, if you don't want/need a background service you can just run:
rabbitmq-server
表示安装完成,安装目录在
/usr/local/Cellar/rabbitmq/3.8.19
二、RabbitMQ 的启动
rabbitmq-server
三、RabbitMQ 启动插件
待RabbitMQ 的启动完毕之后,另起终端(command+n)。启动插件
rabbitmq-plugins enable rabbitmq_management #执行一次以后不用再次执行
四、登陆管理界面
http://localhost:15672/
账号密码初始默认都为guest