Mac之RabbitMQ安装

1 . 安装RabbitMQ命令

brew install rabbitmq(如果没有安装brew命令,请先安装brew)

2 . 执行过程

        For compilers to find this software you may need to set:
        LDFLAGS:  -L/usr/local/opt/openssl/lib
        CPPFLAGS: -I/usr/local/opt/openssl/include

        ==> Summary
        ?  /usr/local/Cellar/openssl/1.0.2n: 1,792 files, 12.3MB
        ==> Installing rabbitmq dependency: jpeg
        ==> Downloading https://homebrew.bintray.com/bottles/jpeg-9c.high_sierra.bottle.tar.gz
        ######################################################################## 100.0%
        ==> Pouring jpeg-9c.high_sierra.bottle.tar.gz
        ?  /usr/local/Cellar/jpeg/9c: 21 files, 724.5KB
        ==> Installing rabbitmq dependency: libpng
        ==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.34.high_sierra.bottle.tar.gz
        ######################################################################## 100.0%
        ==> Pouring libpng-1.6.34.high_sierra.bottle.tar.gz
        ?  /usr/local/Cellar/libpng/1.6.34: 26 files, 1.2MB
        ==> Installing rabbitmq dependency: libtiff
        ==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.9_2.high_sierra.bottle.tar.gz
        ######################################################################## 100.0%
        ==> Pouring libtiff-4.0.9_2.high_sierra.bottle.tar.gz
        ?  /usr/local/Cellar/libtiff/4.0.9_2: 246 files, 3.5MB
        ==> Installing rabbitmq dependency: wxmac
        ==> Downloading https://homebrew.bintray.com/bottles/wxmac-3.0.3.1_1.high_sierra.bottle.tar.gz
        ######################################################################## 100.0%
        ==> Pouring wxmac-3.0.3.1_1.high_sierra.bottle.tar.gz
        ?  /usr/local/Cellar/wxmac/3.0.3.1_1: 810 files, 23.7MB
        ==> Installing rabbitmq dependency: erlang
        ==> Downloading https://homebrew.bintray.com/bottles/erlang-20.2.4.high_sierra.bottle.tar.gz
        ######################################################################## 100.0%
        ==> Pouring erlang-20.2.4.high_sierra.bottle.tar.gz
        ==> Caveats
        Man pages can be found in:
          /usr/local/opt/erlang/lib/erlang/man

        Access them with `erl -man`, or add this directory to MANPATH.
        ==> Summary
        ?  /usr/local/Cellar/erlang/20.2.4: 7,038 files, 277.2MB
        ==> Installing rabbitmq
        ==> Downloading https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.3/rabbitmq-server-generic-unix-3.7
        ######################################################################## 100.0%
        ==> /usr/bin/unzip -qq -j /usr/local/Cellar/rabbitmq/3.7.3/plugins/rabbitmq_management-3.7.3.ez rabbitmq_m
        ==> Caveats
        Management Plugin enabled by default at http://localhost:15672

        Bash completion has been installed to:
          /usr/local/etc/bash_completion.d

        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.7.3: 232 files, 12.6MB, built in 18 seconds

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

3 . RabbitMQ 的启动
    进入到 /usr/local/Cellar/rabbitmq/3.7.3,执行

SmallearlydeMBP:3.7.3 smallearly$ sbin/rabbitmq-server 

4 . 登陆管理界面

浏览器输入:http://localhost:15672/

    初始化默认账号&密码:guest

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值