Mac 安装rabbitmq

1.安装

brew install rabbitmq

softdeMacBook-Pro:~ softsun$ brew install rabbitmq
==> Installing dependencies for rabbitmq: xz, openssl, jpeg, libpng, libt
==> Installing rabbitmq dependency: xz
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.2.el_capitan.bottle.
######################################################################## 100.0%
==> Pouring xz-5.2.2.el_capitan.bottle.tar.gz
/usr/local/Cellar/rabbitmq/3.6.1: 188 files, 5.8M, built in 3 minutes 12 seconds

注意: rabbitmq的安装目录: /usr/local/Cellar/rabbitmq/3.6.1

2.运行

进入/usr/local/Cellar/rabbitmq/3.6.1

sbin/rabbitmq-server

              RabbitMQ 3.6.1. Copyright (C) 2007-2016 Pivotal Software, Inc.
  ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
  ##  ##
  ##########  Logs: /usr/local/var/log/rabbitmq/rabbit@localhost.log
  ######  ##        /usr/local/var/log/rabbitmq/rabbit@localhost-sasl.log
  ##########
              Starting broker... completed with 10 plugins.

3.启动插件

sudo sbin/rabbitmq-plugins enable rabbitmq_management

softdeMacBook-Pro:3.6.1 softsun$ sudo sbin/rabbitmq-plugins enable rabbitmq_management
Plugin configuration unchanged.

Applying plugin configuration to rabbit@localhost... nothing to do.
softdeMacBook-Pro:3.6.1 softsun$ 

只要执行一次即可

4.管理界面

http://localhost:15672/

账号密码初始默认都为guest



©️2020 CSDN 皮肤主题: 大白 设计师: CSDN官方博客 返回首页
实付0元
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值