当前位置:   article > 正文

在Mac上安装rabbitmq_{"mac":"e7:b5:1c:f4:1a:5d","name":"n76"}

{"mac":"e7:b5:1c:f4:1a:5d","name":"n76"}

第一步

brew update --verbose

第二步

brew install rabbitmq --verbose

完成

==> rabbitmq
Management Plugin enabled by default at http://localhost:15672

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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

在这里插入图片描述
访问地址:http://localhost:15672/#/

全部操作日志

Last login: Sat Feb 27 15:47:41 on console
➜  ~ brew update --verbose
Checking if we need to fetch /usr/local/Homebrew...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...
Fetching /usr/local/Homebrew...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services...
Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...
Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services...
Updating /usr/local/Homebrew...
Branch 'master' set up to track remote branch 'master' from 'origin'.
Switched to and reset branch 'master'
Your branch is up to date with 'origin/master'.
Switched to and reset branch 'stable'
Current branch stable is up to date.

Updating /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...
First, rewinding head to replay your work on top of it...
Fast-forwarded master to origin/master.

Updating /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services...
First, rewinding head to replay your work on top of it...
Fast-forwarded master to origin/master.

Updated 2 taps (homebrew/core and homebrew/services).
==> Updated Formulae
jetty

You have 3 outdated formulae installed.
You can update them with brew upgrade.
➜  ~ brew install rabbitmq
Updating Homebrew...
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/gdbm-1.18.1_1.catali
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/mpdecimal-2.5.1.cata
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/openssl%401.1-1.1.1j
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/sqlite-3.34.0.catali
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/tcl-tk-8.6.11_1.cata
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/xz-5.2.5.catalina.bo
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/python%403.9-3.9.2_1
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/jpeg-9d.catalina.bot
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libpng-1.6.37.catali
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libtiff-4.2.0.catali
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/wxmac-3.0.5.1_1.cata
######################################################################## 100.0%
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/erlang-23.2.6.catali
######################################################################## 100.0%
==> Downloading https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.8.12/rab
==> Downloading from https://github-releases.githubusercontent.com/924551/4617c180-7062-1
#############################                                             41.6%
curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
Error: Failed to download resource "rabbitmq"
Download failed: https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.8.12/rabbitmq-server-generic-unix-3.8.12.tar.xz
➜  ~ brew install rabbitmq
^C^Z
[1]  + 2801 suspended  brew install rabbitmq
➜  ~ brew install rabbitmq --verbose
Error: Another active Homebrew update process is already in progress.
Please wait for it to finish or terminate it to continue.
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/gdbm-1.18.1_1.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/gdbm-1.18.1_1.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/1629762b58847263729d23ae4ae664733596c41f83bfb213454eda9b3f11f9cf--gdbm-1.18.1_1.catalina.bottle.tar.gz
==> Verifying checksum for '1629762b58847263729d23ae4ae664733596c41f83bfb213454eda9b3f11f9cf--gdbm-1.18.1_1.catalina.bottle.tar.gz'
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/mpdecimal-2.5.1.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/mpdecimal-2.5.1.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/973bf6543ac4a091a9440b21f12c80d5315c00ec385a49c3575f8ba8a31846e2--mpdecimal-2.5.1.catalina.bottle.tar.gz
==> Verifying checksum for '973bf6543ac4a091a9440b21f12c80d5315c00ec385a49c3575f8ba8a31846e2--mpdecimal-2.5.1.catalina.bottle.tar.gz'
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/openssl%401.1-1.1.1j.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/openssl\%401.1-1.1.1j.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/94a44d376cfbff5d3c9049345660c7296c71de95d364f0a0cceceb5d32ca0606--openssl@1.1-1.1.1j.catalina.bottle.tar.gz
==> Verifying checksum for '94a44d376cfbff5d3c9049345660c7296c71de95d364f0a0cceceb5d32ca0606--openssl@1.1-1.1.1j.catalina.bottle.tar.gz'
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/sqlite-3.34.0.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/sqlite-3.34.0.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/931544283a1d6c4d6ee97bd4677947c0fa2bc68daeede7a59e890032af97f4e0--sqlite-3.34.0.catalina.bottle.tar.gz
==> Verifying checksum for '931544283a1d6c4d6ee97bd4677947c0fa2bc68daeede7a59e890032af97f4e0--sqlite-3.34.0.catalina.bottle.tar.gz'
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/tcl-tk-8.6.11_1.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/tcl-tk-8.6.11_1.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/e8200a73767a18f6e5289b14472de1e08f22f1afa6dce2140fbd293bcc35813b--tcl-tk-8.6.11_1.catalina.bottle.tar.gz
==> Verifying checksum for 'e8200a73767a18f6e5289b14472de1e08f22f1afa6dce2140fbd293bcc35813b--tcl-tk-8.6.11_1.catalina.bottle.tar.gz'
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/xz-5.2.5.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/xz-5.2.5.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/78738b3c8a67efd62f727f0678fa9928febd2003b1830aae7d2b9eb65c62786b--xz-5.2.5.catalina.bottle.tar.gz
==> Verifying checksum for '78738b3c8a67efd62f727f0678fa9928febd2003b1830aae7d2b9eb65c62786b--xz-5.2.5.catalina.bottle.tar.gz'
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/python%403.9-3.9.2_1.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/python\%403.9-3.9.2_1.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/0dcefb7b72870af7ea2592f91a01391a04040c10f47df51c874fcba5ae4bea05--python@3.9-3.9.2_1.catalina.bottle.tar.gz
==> Verifying checksum for '0dcefb7b72870af7ea2592f91a01391a04040c10f47df51c874fcba5ae4bea05--python@3.9-3.9.2_1.catalina.bottle.tar.gz'
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/jpeg-9d.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/jpeg-9d.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/09160568f60b17c96765be54747fe094a96b69df202ad0e7d5ac6db1b2e1ba49--jpeg-9d.catalina.bottle.tar.gz
==> Verifying checksum for '09160568f60b17c96765be54747fe094a96b69df202ad0e7d5ac6db1b2e1ba49--jpeg-9d.catalina.bottle.tar.gz'
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libpng-1.6.37.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libpng-1.6.37.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/9b5c14f4781e65fa9dd9463025a5f2ae7f1644e6aac87e0f3958ab5812be8131--libpng-1.6.37.catalina.bottle.tar.gz
==> Verifying checksum for '9b5c14f4781e65fa9dd9463025a5f2ae7f1644e6aac87e0f3958ab5812be8131--libpng-1.6.37.catalina.bottle.tar.gz'
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libtiff-4.2.0.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libtiff-4.2.0.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/888a4abda3fcca5310f4d58a5d7bfea5f3d3b5a37ac386e5b403d26440ace187--libtiff-4.2.0.catalina.bottle.tar.gz
==> Verifying checksum for '888a4abda3fcca5310f4d58a5d7bfea5f3d3b5a37ac386e5b403d26440ace187--libtiff-4.2.0.catalina.bottle.tar.gz'
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/wxmac-3.0.5.1_1.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/wxmac-3.0.5.1_1.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/7cf2f4008f97b113cb10ab596294d58c51468410d96eeef441ad8199d0502684--wxmac-3.0.5.1_1.catalina.bottle.tar.gz
==> Verifying checksum for '7cf2f4008f97b113cb10ab596294d58c51468410d96eeef441ad8199d0502684--wxmac-3.0.5.1_1.catalina.bottle.tar.gz'
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/erlang-23.2.6.catalina.bottle.tar.gz
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/erlang-23.2.6.catalina.bottle.tar.gz
Already downloaded: /Users/air/Library/Caches/Homebrew/downloads/02cc8b879885afb7ccc5cb87ad622ab349941a15ef49ab91bfd41e7436785aa6--erlang-23.2.6.catalina.bottle.tar.gz
==> Verifying checksum for '02cc8b879885afb7ccc5cb87ad622ab349941a15ef49ab91bfd41e7436785aa6--erlang-23.2.6.catalina.bottle.tar.gz'
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.8.12/rabbitmq-server-generic-unix-3.8.12.tar.xz
==> Downloading https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.8.12/rabbitmq-server-generic-unix-3.8.12.tar.xz
==> Downloading from https://github-releases.githubusercontent.com/924551/4617c180-7062-11eb-87ff-78f4576cb917?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210227%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210227T084818Z&X-Amz-Expires=300&X-Amz-Signature=0455e8197f4c2abd23ff359f5ff773987205957dbebd8c1db096bf1b79d7953d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=924551&response-content-disposition=attachment%3B%20filename%3Drabbitmq-server-generic-unix-3.8.12.tar.xz&response-content-type=application%2Foctet-stream
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --range 0-1 --dump-header - --write-out \%\{http_code\} --output /dev/null https://github-releases.githubusercontent.com/924551/4617c180-7062-11eb-87ff-78f4576cb917\?X-Amz-Algorithm=AWS4-HMAC-SHA256\&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A\%2F20210227\%2Fus-east-1\%2Fs3\%2Faws4_request\&X-Amz-Date=20210227T084818Z\&X-Amz-Expires=300\&X-Amz-Signature=0455e8197f4c2abd23ff359f5ff773987205957dbebd8c1db096bf1b79d7953d\&X-Amz-SignedHeaders=host\&actor_id=0\&key_id=0\&repo_id=924551\&response-content-disposition=attachment\%3B\%20filename\%3Drabbitmq-server-generic-unix-3.8.12.tar.xz\&response-content-type=application\%2Foctet-stream
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.7\)\ curl/7.64.1 --header Accept-Language:\ en --fail --retry 3 --location --remote-time --continue-at - --output /Users/air/Library/Caches/Homebrew/downloads/04d6b767c386e6df0fd6e2308cddd690b997e283ebf39808f5ca7d42c6cf967b--rabbitmq-server-generic-unix-3.8.12.tar.xz.incomplete https://github-releases.githubusercontent.com/924551/4617c180-7062-11eb-87ff-78f4576cb917\?X-Amz-Algorithm=AWS4-HMAC-SHA256\&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A\%2F20210227\%2Fus-east-1\%2Fs3\%2Faws4_request\&X-Amz-Date=20210227T084818Z\&X-Amz-Expires=300\&X-Amz-Signature=0455e8197f4c2abd23ff359f5ff773987205957dbebd8c1db096bf1b79d7953d\&X-Amz-SignedHeaders=host\&actor_id=0\&key_id=0\&repo_id=924551\&response-content-disposition=attachment\%3B\%20filename\%3Drabbitmq-server-generic-unix-3.8.12.tar.xz\&response-content-type=application\%2Foctet-stream
** Resuming transfer from byte position 6511938
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8930k  100 8930k    0     0  12128      0  0:12:34  0:12:33  0:00:01 15512
==> Verifying checksum for '04d6b767c386e6df0fd6e2308cddd690b997e283ebf39808f5ca7d42c6cf967b--rabbitmq-server-generic-unix-3.8.12.tar.xz'
==> Installing dependencies for rabbitmq: gdbm, mpdecimal, openssl@1.1, sqlite, tcl-tk, xz, python@3.9, jpeg, libpng, libtiff, wxmac and erlang
==> Installing rabbitmq dependency: gdbm
==> Pouring gdbm-1.18.1_1.catalina.bottle.tar.gz
tar xof /Users/air/Library/Caches/Homebrew/downloads/1629762b58847263729d23ae4ae664733596c41f83bfb213454eda9b3f11f9cf--gdbm-1.18.1_1.catalina.bottle.tar.gz -C /var/folders/mc/bbjk6xkn71j7byjbxw22ln040000gn/T/d20210227-3299-1xht26e
cp -pR /var/folders/mc/bbjk6xkn71j7byjbxw22ln040000gn/T/d20210227-3299-1xht26e/gdbm/. /usr/local/Cellar/gdbm
chmod -Rf +w /var/folders/mc/bbjk6xkn71j7byjbxw22ln040000gn/T/d20210227-3299-1xht26e
==> Finishing up
ln -s ../Cellar/gdbm/1.18.1_1/bin/gdbm_dump gdbm_dump
ln -s ../Cellar/gdbm/1.18.1_1/bin/gdbm_load gdbm_load
ln -s ../Cellar/gdbm/1.18.1_1/bin/gdbmtool gdbmtool
ln -s ../Cellar/gdbm/1.18.1_1/include/dbm.h dbm.h
ln -s ../Cellar/gdbm/1.18.1_1/include/gdbm-ndbm.h gdbm-ndbm.h
ln -s ../Cellar/gdbm/1.18.1_1/include/gdbm.h gdbm.h
ln -s ../../Cellar/gdbm/1.18.1_1/share/info/gdbm.info gdbm.info
info /usr/local/share/info/gdbm.info
ln -s ../../../Cellar/gdbm/1.18.1_1/share/man/man1/gdbm_dump.1 gdbm_dump.1
ln -s ../../../Cellar/gdbm/1.18.1_1/share/man/man1/gdbm_load.1 gdbm_load.1
ln -s ../../../Cellar/gdbm/1.18.1_1/share/man/man1/gdbmtool.1 gdbmtool.1
ln -s ../../../Cellar/gdbm/1.18.1_1/share/man/man3/gdbm.3 gdbm.3
ln -s ../Cellar/gdbm/1.18.1_1/lib/libgdbm.6.dylib libgdbm.6.dylib
ln -s ../Cellar/gdbm/1.18.1_1/lib/libgdbm.a libgdbm.a
ln -s ../Cellar/gdbm/1.18.1_1/lib/libgdbm.dylib libgdbm.dylib
ln -s ../Cellar/gdbm/1.18.1_1/lib/libgdbm_compat.4.dylib libgdbm_compat.4.dylib
ln -s ../Cellar/gdbm/1.18.1_1/lib/libgdbm_compat.a libgdbm_compat.a
ln -s ../Cellar/gdbm/1.18.1_1/lib/libgdbm_compat.dylib libgdbm_compat.dylib
/usr/bin/sandbox-exec -f /private/tmp/homebrew20210227-3969-1m1z7ip.sb nice ruby -W1 -I $LOAD_PATH -- /usr/local/Homebrew/Library/Homebrew/postinstall.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gdbm.rb
==> Summary
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/278301
推荐阅读