1. brew 로 rabbit mq 설치
brew install rabbitmq
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/core, minio/stable and mongodb/brew).
==> New Formulae
acl2 dbdeployer ioctl libseccomp libxkbfile mhonarc server-go usb.ids
alsa-lib diskonaut kondo libsm libxmu microplane shallow-backup util-macros
asroute eleventy ladspa-sdk libx11 libxpm nanorc sheldon vivid
athenacli empty leaf libxau libxrandr nfpm shtools volk
borgbackup envoy libaio libxaw libxrender numcpp silicon vtk@8.2
c7n fetch libdmx libxaw3d libxres openfst sleef webify
castget fleet-cli libfontenc libxcb libxscrnsaver ormolu snap wownero
cbc flit libfs libxcomposite libxshmfence osm sponge x86_64-elf-gdb
cdktf font-util libgccjit libxcursor libxt pandocomatic sqlite-utils xcb-proto
cgl git-hound libhandy libxdamage libxtst parallel-hashmap staticcheck xdpyinfo
charge gitql libice libxdmcp libxv periscope structurizr-cli xorgproto
clang-format@8 go@1.14 libirecovery libxext libxvmc podman terraform@0.12 xtrans
cli11 gostatic libmnl libxfixes libxxf86dga prometheus-cpp terrascan
cloudformation-guard halide libnetfilter-queue libxfont libxxf86vm protoc-gen-gogo tfsec
commitizen httpx libnfnetlink libxft localstack protoc-gen-gogofaster torchvision
croc infracost libpciaccess libxi mariadb@10.4 python@3.9 trunk
datasette inja libpthread-stubs libxinerama matplotplusplus rustscan ugrep
==> Updated Formulae
Updated 3083 formulae.
==> Renamed Formulae
gst-validate -> gst-devtools
==> Deleted Formulae
wpscan xu4
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.18.1_1.mojave.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/0f65874bcd50d31aaf8b2e6c8ef414cb65a8d8b9eb6d1fa4ef179c6e0a94983c?response-content-disposition=attachment%3Bfilename%3D%22gdb
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/readline-8.0.4.mojave.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/29f7102a730ab39c8312cad1e7e439f6da2a67c452ce2b3380581eb185a5d8e8?response-content-disposition=attachment%3Bfilename%3D%22rea
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.33.0.mojave.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/0d4a34731923310528f3ca79418eb7149cf12eda3b3043e5ba11b040ca5f602f?response-content-disposition=attachment%3Bfilename%3D%22sql
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.5.mojave.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/44483961b5d2b535b0ece1936c9d40b4bc7d9c7281646cca0fb476291ab9d4dc?response-content-disposition=attachment%3Bfilename%3D%22xz-
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/python%403.9-3.9.0.mojave.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/ec25b5dade84225363018719b7cebdb388fe2d6f7bbf06437f30f41e220f6fab?response-content-disposition=attachment%3Bfilename%3D%22pyt
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/erlang-23.1.1.mojave.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/c1ed81e52f5543b3466036f32bf568f1ec445edb111c2feb17fcaa28ae874674?response-content-disposition=attachment%3Bfilename%3D%22erl
######################################################################## 100.0%
==> Downloading https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.8.9/rabbitmq-server-generic-unix-3.8.9.tar.xz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/924551/5e205600-feb3-11ea-84be-6ee44029a3f6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA
######################################################################## 100.0%
Error: rabbitmq 3.8.3 is already installed
To upgrade to 3.8.9_1, run `brew upgrade rabbitmq`.
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /Users/jeong/Library/Caches/Homebrew/minio--RELEASE.2020-07-31T03-39-05Z.2020-07-31T03-39-05Z... (54.1MB)
Removing: /Users/jeong/Library/Caches/Homebrew/rabbitmq--3.8.3.tar.xz... (11.4MB)
Removing: /Users/jeong/Library/Logs/Homebrew/minio... (114B)
Pruned 1 symbolic links from /usr/local
2. 설치된 폴더
/usr/local/Cellar/rabbitmq/<version>/sbin 디렉토리에 설치되며, /usr/local/opt/rabbitmq/sbin 에서 접근 할 수 있습니다.
바이너리 링크는 /usr/local/sbin 아래에 생성됩니다.
현재 버전 : 3.8.3
3. bash_profile에 path을 추가합니다.
vim ~/.bash_profile
export RABBITMQ_HOME=/usr/local/sbin
PATH=$PATH:$HOME/bin:$RABBITMQ_HOME/bin:
export PATH
source ~/.bash_profile
4. 실행
brew services start rabbitmq
5. 중지
brew services stop rabbitmq
6. Rabbit MQ UI
- 브라우저 창에 http://localhost:15672/ 로 접속을 합니다.
- Username : guest
- Password : guest
- 아래와 같이 RabbitMQ UI을 볼 수 있습니다.
'IT > Infra' 카테고리의 다른 글
[Vagrant] Multi VM , Memory, Cpus 설정 (0) | 2020.11.29 |
---|---|
[Docker] Consul 설치 하기 (Feat.Mac) (0) | 2020.10.24 |
[Docker] MinIO 객체 스토리지 (0) | 2020.08.05 |
[Mac] MinIO 객체 스토리지 (0) | 2020.08.01 |
[Centos7] redis 설치하기 (0) | 2020.02.10 |