ubuntu-jammy-22.04-amd64-server-20220912 환경의 ec2 에서 rabbitmq 설치하기
https://www.rabbitmq.com/install-debian.html#apt-quick-start-packagecloud
Installing on Debian and Ubuntu — RabbitMQ
Installing on Debian and Ubuntu This guide covers RabbitMQ installation on Debian, Ubuntu and distributions based on one of them. RabbitMQ is included in standard Debian and Ubuntu repositories. However, the versions included are many releases behind lates
www.rabbitmq.com
공식 홈페이지를 참고해서 설치했다.
가이드를 따라 설치하다보니 에러가 떴다.
.
.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
erlang-crypto : Depends: libssl1.1 (>= 1.1.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
찾아보니 ' Ubuntu 22.04는 libssl을 3으로 업그레이드했으며 libssl1.1을 제안하지 않습니다. ' 라고 한다. 아래 페이지의 질문을 참고해서 libssl1.1을 강제로 설치했다. (오래걸렸다)
MongoDB Install Fails on Ubuntu 22.04 - Depends on libssl1.1 but it is not installable
Here are the standard installation instructions from the website: wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.
askubuntu.com
이후 다시 설치하면 설치에 성공한다.
### ubuntu 계정으로 전환 ###
# Management UI 플러그인 활성화
sudo rabbitmq-plugins enable rabbitmq_management
# 사용자 추가 -> 아이디 패스워드
sudo rabbitmqctl add_user test test
# 사용자에 대한 권한 추가
sudo rabbitmqctl set_user_tags test administrator
# vhost 권한 추가
sudo rabbitmqctl set_permissions -p / test ".*" ".*" ".*"
# 사용자 리스트 확인
sudo rabbitmqctl list_users
'기타 개발' 카테고리의 다른 글
[메시지 브로커] rabbitMQ vs activeMQ vs kafka (0) | 2023.07.25 |
---|---|
MongoDB 간단하게 알아보기 (0) | 2023.07.21 |
[Git] 깃 과거 커밋 수정하기 (0) | 2023.07.20 |
파이썬 코딩테스트 준비하기 - 라이브러리, 알아두면 좋은 것 (0) | 2023.07.20 |