Installation
v2.6.0
Search this version
Installation
Installation
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Linux
Copy Markdown
Open in ChatGPT
Open in Claude
RabbitMQ version 3.13.0 or higher is required.
Please refer to the link for the Erlang-RabbitMQ compatibility matrix.
Ubuntu, Debian
Install Dependencies
Bash
xxxxxxxxxxsudo apt-get update -ysudo apt-get install curl gnupg apt-transport-https wget -ysudo apt-get install logrotate init-system-helpers adduser -yAdd Repository Signing Key
Bash
## Team RabbitMQ's signing keycurl -1sLf "https://keys.openpgp.org/vks/v1/by-fingerprint/0A9AF2115F4687BD29803A206B73A36E6026DFCA" | sudo gpg --dearmor | sudo tee /usr/share/keyrings/com.rabbitmq.team.gpg > /dev/nullInstall Erlang/OTP
- Add a repository file.
- Ubuntu 24.4
Bash
x
sudo tee /etc/apt/sources.list.d/rabbitmq.list <<EOF## Modern Erlang/OTP releases##deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-erlang/ubuntu/noble noble maindeb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-erlang/ubuntu/noble noble main ## Provides modern RabbitMQ releases##deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble noble maindeb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-server/ubuntu/noble noble mainEOF- Debian Bookworm
Bash
sudo tee /etc/apt/sources.list.d/rabbitmq.list <<EOF## Modern Erlang/OTP releases##deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-erlang/debian/bookworm bookworm maindeb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-erlang/debian/bookworm bookworm main ## Provides modern RabbitMQ releases##deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-server/debian/bookworm bookworm maindeb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-server/debian/bookworm bookworm mainEOF- After updating the list of
aptsources, it is necessary to runapt-get update.
Bash
xxxxxxxxxxsudo apt-get update -y- Install Erlang.
Bash
xxxxxxxxxx## Install Erlang packagessudo apt-get install -y erlang-base \ erlang-asn1 \ erlang-crypto \ erlang-eldap \ erlang-ftp \ erlang-inets \ erlang-mnesia \ erlang-os-mon \ erlang-parsetools \ erlang-public-key \ erlang-runtime-tools \ erlang-snmp \ erlang-ssl \ erlang-syntax-tools \ erlang-tftp \ erlang-tools \ erlang-xmerlInstall RabbitMQ
- Run the following commands.
Bash
xxxxxxxxxx# download the packagesudo apt-get -y install wgetwget https://github.com/rabbitmq/rabbitmq-server/releases/download/v4.2.5/rabbitmq-server_4.2.5-1_all.deb # install the package with dpkgsudo dpkg -i rabbitmq-server_4.2.5-1_all.deb rm rabbitmq-server_4.2.5-1_all.deb sudo systemctl enable --now rabbitmq-serversudo systemctl status rabbitmq-server- Set up user.
Bash
xxxxxxxxxxsudo rabbitmqctl add_user <username> <password>sudo rabbitmqctl set_permissions -p / <username> "." "." "."sudo rabbitmqctl set_user_tags <username> administratorRocky, RHEL 9
Install Dependencies
Bash
xxxxxxxxxxsudo dnf install -y logrotate wgetImport the Signing Keys
Bash
## primary RabbitMQ signing keysudo rpm --import 'https://github.com/rabbitmq/signing-keys/releases/download/3.0/rabbitmq-release-signing-key.asc'## modern Erlang repositorysudo rpm --import 'https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-erlang.E495BB49CC4BBE5B.key'## RabbitMQ server repositorysudo rpm --import 'https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-server.9F4587F226208342.key'Add Yum Repositories
Create the file /etc/yum.repos.d/rabbitmq.repo with the following content.
Bash
xxxxxxxxxx# In /etc/yum.repos.d/rabbitmq.repo #### Zero dependency Erlang RPM## [modern-erlang]name=modern-erlang-el9# Use a set of mirrors maintained by the RabbitMQ core team.# The mirrors have significantly higher bandwidth quotas.baseurl=https://yum1.rabbitmq.com/erlang/el/9/$basearch https://yum2.rabbitmq.com/erlang/el/9/$basearchrepo_gpgcheck=1enabled=1gpgkey=https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-erlang.E495BB49CC4BBE5B.keygpgcheck=1sslverify=1sslcacert=/etc/pki/tls/certs/ca-bundle.crtmetadata_expire=300pkg_gpgcheck=1autorefresh=1type=rpm-md [modern-erlang-noarch]name=modern-erlang-el9-noarch# Use a set of mirrors maintained by the RabbitMQ core team.# The mirrors have significantly higher bandwidth quotas.baseurl=https://yum1.rabbitmq.com/erlang/el/9/noarch https://yum2.rabbitmq.com/erlang/el/9/noarchrepo_gpgcheck=1enabled=1gpgkey=https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-erlang.E495BB49CC4BBE5B.key https://github.com/rabbitmq/signing-keys/releases/download/3.0/rabbitmq-release-signing-key.ascgpgcheck=1sslverify=1sslcacert=/etc/pki/tls/certs/ca-bundle.crtmetadata_expire=300pkg_gpgcheck=1autorefresh=1type=rpm-md #### RabbitMQ Server## [rabbitmq-el9]name=rabbitmq-el9baseurl=https://yum2.rabbitmq.com/rabbitmq/el/9/$basearch https://yum1.rabbitmq.com/rabbitmq/el/9/$basearchrepo_gpgcheck=1enabled=1# Cloudsmith's repository key and RabbitMQ package signing keygpgkey=https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-server.9F4587F226208342.key https://github.com/rabbitmq/signing-keys/releases/download/3.0/rabbitmq-release-signing-key.ascgpgcheck=1sslverify=1sslcacert=/etc/pki/tls/certs/ca-bundle.crtmetadata_expire=300pkg_gpgcheck=1autorefresh=1type=rpm-md [rabbitmq-el9-noarch]name=rabbitmq-el9-noarchbaseurl=https://yum2.rabbitmq.com/rabbitmq/el/9/noarch https://yum1.rabbitmq.com/rabbitmq/el/9/noarchrepo_gpgcheck=1enabled=1# Cloudsmith's repository key and RabbitMQ package signing keygpgkey=https://github.com/rabbitmq/signing-keys/releases/download/3.0/cloudsmith.rabbitmq-server.9F4587F226208342.key https://github.com/rabbitmq/signing-keys/releases/download/3.0/rabbitmq-release-signing-key.ascgpgcheck=1sslverify=1sslcacert=/etc/pki/tls/certs/ca-bundle.crtmetadata_expire=300pkg_gpgcheck=1autorefresh=1type=rpm-mdInstall Erlang
Bash
xxxxxxxxxxsudo dnf update -ysudo dnf install -y erlangInstall RabbitMQ
- Run the following commands.
Bash
xxxxxxxxxxrpm --import https://github.com/rabbitmq/signing-keys/releases/download/3.0/rabbitmq-release-signing-key.asc wget https://github.com/rabbitmq/rabbitmq-server/releases/download/v4.2.5/rabbitmq-server-4.2.5-1.el8.noarch.rpm sudo dnf install -y rabbitmq-server-4.2.5-1.el8.noarch.rpmrm abbitmq-server-4.2.5-1.el8.noarch.rpm sudo systemctl enable --now rabbitmq-serversudo systemctl status rabbitmq-server- Set up user.
Bash
xxxxxxxxxxsudo rabbitmqctl add_user <username> <password>sudo rabbitmqctl set_permissions -p / <username> "." "." "."sudo rabbitmqctl set_user_tags <username> administratorType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Air-gappednull
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message