rabbitmq_installation

RabbitMQ Installation

rabbitmq.repo
[bintray-rabbitmq-server]
name=bintray-rabbitmq-rpm
baseurl=https://dl.bintray.com/rabbitmq/rpm/rabbitmq-server/v3.8.x/el/7/
gpgcheck=0
repo_gpgcheck=0
enabled=1
 
[rabbitmq_erlang]
name=rabbitmq_erlang
baseurl=https://packagecloud.io/rabbitmq/erlang/el/7/$basearch
repo_gpgcheck=1
gpgcheck=1
enabled=1
# PackageCloud's repository key and RabbitMQ package signing key
gpgkey=https://packagecloud.io/rabbitmq/erlang/gpgkey
       https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
yum -y install rabbitmq-server

설치 이후 rabbitmq-server 를 구동하려면 아래 명령어를 사용하도록 한다.

systemctl start rabbitmq-server

rabbitmq-serveropenfiles(nofile) 를 수정하려면 아래 파일의 옵션을 수정하도록 한다.

/usr/lib/systemd/system/rabbitmq-server.service
# To override LimitNOFILE, create the following file:
#
# /etc/systemd/system/rabbitmq-server.service.d/limits.conf
#
# with the following content:
#
# [Service]
# LimitNOFILE=65536
 
LimitNOFILE=32768
로그인하면 댓글을 남길 수 있습니다.
  • rabbitmq_installation.txt
  • 마지막으로 수정됨: 2020/04/14 14:20
  • 저자 admin