RabbitMQ for Mac OS Install

使用brew來安裝 RabbitMQ

 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                                  [email protected]                         [email protected]

 

==> 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

RabbitMQ 的啓動

進入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/[email protected]

                    /usr/local/var/log/rabbitmq/rabbit@localhost_upgrade.log

 

              Starting broker...

 completed with 6 plugins.

就完成啓動了

RabbitMQ 啓動插件

接下來再切換到sbin目錄下:

sudo ./rabbitmq-plugins enable rabbitmq_management

登陸管理界面

訪問:http://localhost:15672/#/

用戶名/密碼 都是guest

今日推薦閱讀文章精選推薦

爲什麼要做接口測試

JMeter數據庫操作

Jmeter接口測試-正則表達式

JMeter中文返回亂碼

Jmeter接口測試-參數化

JMeter接口測試-基礎

測試-感想

 

諮詢工作加微信

掃描二維碼

 

歡迎自薦和推薦, 需要的微信推送簡歷!

請猛戳下面二維碼瞭解更多

 

 

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章