码迷,mamicode.com
首页 > 系统相关 > 详细

Mac下RabbitMQ安装

时间:2018-04-20 14:39:18      阅读:1263      评论:0      收藏:0      [点我收藏+]

标签:plugin   files   tiff   tle   bin   code   his   bee   lin   

1.使用homebrew下载rabbitMQ:

brew install rabbitmq

执行结果如下:

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
cake                dockviz             kubeless            sdcc
==> Renamed Formulae
geth -> ethereum

Error: Could not link:
/usr/local/share/doc/homebrew

Please delete these paths and run `brew update`.
==> Installing dependencies for rabbitmq: jpeg, libpng, libtiff, wxmac, erlang
==> Installing rabbitmq dependency: jpeg
==> Downloading https://homebrew.bintray.com/bottles/jpeg-9c.high_sierra.bottle.
######################################################################## 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.b
######################################################################## 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_3.high_sierra
######################################################################## 100.0%
==> Pouring libtiff-4.0.9_3.high_sierra.bottle.tar.gz
??  /usr/local/Cellar/libtiff/4.0.9_3: 246 files, 3.5MB
==> Installing rabbitmq dependency: wxmac
==> Downloading https://homebrew.bintray.com/bottles/wxmac-3.0.4.high_sierra.bot
######################################################################## 100.0%
==> Pouring wxmac-3.0.4.high_sierra.bottle.tar.gz
??  /usr/local/Cellar/wxmac/3.0.4: 810 files, 23.7MB
==> Installing rabbitmq dependency: erlang
==> Downloading https://homebrew.bintray.com/bottles/erlang-20.3.2.high_sierra.b
######################################################################## 100.0%
==> Pouring erlang-20.3.2.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.3.2: 7,036 files, 277.4MB
==> Installing rabbitmq
==> Downloading https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.4/rabbit
######################################################################## 100.0%
==> /usr/bin/unzip -qq -j /usr/local/Cellar/rabbitmq/3.7.4/plugins/rabbitmq_mana
==> 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 dont want/need a background service you can just run:
  rabbitmq-server
==> Summary
??  /usr/local/Cellar/rabbitmq/3.7.4: 232 files, 12.6MB, built in 16 seconds

rabbitMQ安装路径: /usr/local/Cellar/rabbitmq/3.7.4

2. 进入到安装路径下,执行命令启动rabbitMQ服务:

sbin/rabbitmq-server 

3. 然后另开终端,启动rabbitMQ的管理插件:

cd sbin && ./rabbitmq-plugins enable rabbitmq_management

4. 输入地址localhost:15672即可看到rabbitMQ管理界面

Mac下RabbitMQ安装

标签:plugin   files   tiff   tle   bin   code   his   bee   lin   

原文地址:https://www.cnblogs.com/miaoying/p/8890344.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!