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



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值