Mac下使用Brew安装RabbitMQ

Mac下使用Brew安装RabbitMQ

brew install rabbitmq
image-20210718153334082
==> 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
image-20210718160058895

三、RabbitMQ 启动插件

待RabbitMQ 的启动完毕之后,另起终端(command+n)。启动插件

rabbitmq-plugins enable rabbitmq_management #执行一次以后不用再次执行
image-20210718160231234

四、登陆管理界面

http://localhost:15672/

image-20210718160325076

账号密码初始默认都为guest

image-20210718160402790
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容