Print
카테고리: [ macOS & Macintosh ]
조회수: 3727
$ brew install rabbitmq
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
gobuster
==> Updated Formulae
awscli            folly             httest            node              pybind11          sflowtool         swiftformat
bit               geckodriver       idris             openvdb           pyqt5             sip               vim
codequery         gnu-units         kobalt            osc               qscintilla2       sshguard          xonsh
coreutils         hebcal            mongo-c-driver    osrm-backend      rancher-cli       statik

Error: Your Xcode (7.3) is too outdated.
Please update to Xcode 8.2 (or delete it).
Xcode can be updated from the App Store.

일단 Xcode 문제로 튕겼다. 그래서 Xcode를 업데이트하고 다시 시도.

$ brew install rabbitmq
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
gti

==> Installing dependencies for rabbitmq: openssl, jpeg, libpng, libtiff, wxmac, erlang
==> Installing rabbitmq dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2k.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openssl-1.0.2k.sierra.bottle.tar.gz
==> Using the sandbox
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

This formula is keg-only, which means it was not symlinked into /usr/local.

Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries

If you need to have this software first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

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.2k: 1,696 files, 12MB
==> Installing rabbitmq dependency: jpeg
==> Downloading https://homebrew.bintray.com/bottles/jpeg-8d.sierra.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring jpeg-8d.sierra.bottle.2.tar.gz
⯑  /usr/local/Cellar/jpeg/8d: 19 files, 708.3KB
==> Installing rabbitmq dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.28.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libpng-1.6.28.sierra.bottle.tar.gz
⯑  /usr/local/Cellar/libpng/1.6.28: 26 files, 1.2MB
==> Installing rabbitmq dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.7_2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtiff-4.0.7_2.sierra.bottle.tar.gz
⯑  /usr/local/Cellar/libtiff/4.0.7_2: 248 files, 3.4MB
==> Installing rabbitmq dependency: wxmac
==> Downloading https://homebrew.bintray.com/bottles/wxmac-3.0.2_4.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring wxmac-3.0.2_4.sierra.bottle.tar.gz
⯑  /usr/local/Cellar/wxmac/3.0.2_4: 810 files, 24.6MB
==> Installing rabbitmq dependency: erlang
==> Downloading https://homebrew.bintray.com/bottles/erlang-19.2.3.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring erlang-19.2.3.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/19.2.3: 7,310 files, 280.9MB
==> Installing rabbitmq
==> Downloading https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.6/rabbitmq-server-generic-unix-3.6.6.tar.xz
######################################################################## 100.0%
==> /usr/bin/unzip -qq -j /usr/local/Cellar/rabbitmq/3.6.6/plugins/rabbitmq_management-3.6.6.ez rabbitmq_management-3.6.6/priv/
==> 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.6.6: 188 files, 5.8MB, built in 48 seconds

실행해 보자.

$ cd /usr/local/sbin
$ ./rabbitmq-server

              RabbitMQ 3.6.6. Copyright (C) 2007-2016 Pivotal Software, Inc.
  ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
  ##  ##
  ##########  Logs: /usr/local/var/log/rabbitmq/이 이메일 주소가 스팸봇으로부터 보호됩니다. 확인하려면 자바스크립트 활성화가 필요합니다.
  ######  ##        /usr/local/var/log/rabbitmq/이 이메일 주소가 스팸봇으로부터 보호됩니다. 확인하려면 자바스크립트 활성화가 필요합니다.
  ##########
              Starting broker...
 completed with 10 plugins.

 관리 콘솔 : http://localhost:15672