赞
踩
brew install rabbitmq
执行看到如下命令:
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/cask, homebrew/core and homebrew/services).
==> New Formulae
==> Renamed Formulae
resin-cli -> balena-cli todolist -> ultralist
==> Deleted Formulae
liblastfm percona-server@5.6 ruby@1.8
==> Installing dependencies for rabbitmq: jpeg, libpng, libtiff, wxmac and erlang
==> 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.6KB
==> Installing rabbitmq dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.36.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libpng-1.6.36.high_sierra.bottle.tar.gz
? /usr/local/Cellar/libpng/1.6.36: 27 files, 1.2MB
==> Installing rabbitmq dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.10_1.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtiff-4.0.10_1.high_sierra.bottle.tar.gz
? /usr/local/Cellar/libtiff/4.0.10_1: 246 files, 3.5MB
==> Installing rabbitmq dependency: wxmac
==> Downloading https://homebrew.bintray.com/bottles/wxmac-3.0.4_1.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring wxmac-3.0.4_1.high_sierra.bottle.tar.gz
? /usr/local/Cellar/wxmac/3.0.4_1: 813 files, 23.8MB
==> Installing rabbitmq dependency: erlang
==> Downloading https://homebrew.bintray.com/bottles/erlang-21.2.4.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring erlang-21.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/21.2.4: 5,684 files, 272.5MB
==> Installing rabbitmq
==> Downloading https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.12/rabbitmq-server-generic-unix-3.7.12.tar.x
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/924551/48b04b00-3118-11e9-8972-ce191046d20
######################################################################## 100.0%
==> /usr/bin/unzip -qq -j /usr/local/Cellar/rabbitmq/3.7.12/plugins/rabbitmq_management-3.7.12.ez rabbitmq_management-3.7.12/pr
==> 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.12: 236 files, 13.8MB, built in 27 seconds
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /usr/local/Cellar/gdbm/1.14.1_1... (20 files, 555.8KB)
Removing: /Users/louiezhou/Library/Caches/Homebrew/kubernetes-helm--2.12.2.high_sierra.bottle.tar.gz... (22.8MB)
Removing: /usr/local/Cellar/openssl/1.0.2o_1... (1,791 files, 12.3MB)
Removing: /usr/local/Cellar/openssl/1.0.2p... (1,793 files, 12.3MB)
Removing: /Users/louiezhou/Library/Logs/Homebrew/bash-completion... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/boost... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/docker-machine... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/docker-machine-driver-xhyve... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/etcd... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/gdbm... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/grafana... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/icu4c... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/influxdb... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/kafka... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/kubernetes-cli... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/kubernetes-helm... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/libev... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/mongodb... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/openssl... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/pcre... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/python... (3 files, 170B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/python@2... (3 files, 170B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/readline... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/redis... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/sphinx-doc... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/sqlite... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/tcl-tk... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/telnet... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/thrift... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/watchman... (102B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/wrk... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/xz... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/zookeeper... (68B)
Removing: /Users/louiezhou/Library/Logs/Homebrew/zsh-syntax-highlighting... (68B)
Pruned 5 symbolic links and 23 directories from /usr/local
==> Caveats
==> erlang
Man pages can be found in:
/usr/local/opt/erlang/lib/erlang/man
Access them with `erl -man`, or add this directory to MANPATH.
==> rabbitmq
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
rabbitmq的安装目录: /usr/local/Cellar/rabbitmq/3.7.12
进入ebin目录
执行: rabbitmq-server
louie-mac:ebin louiezhou$ rabbitmq-server
## ##
## ## RabbitMQ 3.7.12. Copyright (C) 2007-2019 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_upgrade.log
Starting broker...
completed with 6 plugins.
就完成启动了
接下来再切换到sbin目录下:
sudo ./rabbitmq-plugins enable rabbitmq_management
用户名/密码 都是guest
今日推荐阅读文章精选推荐
咨询工作加微信
扫描二维码
欢迎自荐和推荐, 需要的微信推送简历!
请猛戳下面二维码了解更多
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。