Installation of RabbitMQ under Linux depends on socat and erlang plugin environments
1 Plugin Download
1.1 RabbitMQ Download
Download address one:/
Download address II:/rabbitmq/rabbitmq-server
1.2 Erlang Download
The version of Erlang needs to match the version of RabbitMQ.
The address corresponding to the version is as follows:/docs/which-erlang
Download Address:/rabbitmq/erlang-rpm/releases
Note: You need to choose the rpm that matches your Linux system, otherwise the installation will fail.
1.3 Uploading linux
Moving the rpm plugin to the server
2 Installation
Before installing RabbitMQ, you must install Erlang and socat.
2.1. Installing Erlang
(1) cd into the directory to install
cd /apps/src/rabbitmq
rpm -Uvh erlang-26.2.5.3-1.el8.
(2) Check the installation path
whereis erlang
2.2 Installing socat
Here you can choose to install online, or you can download the socat rpm file for offline download (you need to install offline if you can't connect to the internet)
(1) Check if socat is installed
whereis socat
(2) Install the socat plugin
yum install -y socat
Check if the installation was successful (followed by a path indicating successful installation)
whereis socat
2.3 Installing RabbitMQ
(1) cd into the directory to install
cd /apps/src/rabbitmq
rpm -Uvh rabbitmq-server-3.13.7-1.
(2) Check if the installation is successful
whereis socat
(3) Start and view RabbitMQ startup status
systemctl start rabbitmq-server
systemctl status rabbitmq-server
(4) Setting up power-on startup of RabbitMQ
systemctl enable rabbitmq-server
(5) Install the RabbitMQ web client.
rabbitmq-plugins enable rabbitmq_management
(6) Restarting RabbitMQ
systemctl restart rabbitmq-server
1 Plugin Download
1.1 RabbitMQ Download
Download address one:/
Download address II:/rabbitmq/rabbitmq-server
1.2 Erlang Download
The version of Erlang needs to match the version of RabbitMQ.
The address corresponding to the version is as follows:/docs/which-erlang
Download Address:/rabbitmq/erlang-rpm/releases
Note: You need to choose the rpm that matches your Linux system, otherwise the installation will fail.
1.3 Uploading linux
Moving the rpm plugin to the server
2 Installation
Before installing RabbitMQ, you must install Erlang and socat.
2.1. Installing Erlang
(1) cd into the directory to install
cd /apps/src/rabbitmq
rpm -Uvh erlang-26.2.5.3-1.el8.
(2) Check the installation path
whereis erlang
2.2 Installing socat
Here you can choose to install online, or you can download the socat rpm file for offline download (you need to install offline if you can't connect to the internet)
(1) Check if socat is installed
whereis socat
(2) Install the socat plugin
yum install -y socat
Check if the installation was successful (followed by a path indicating successful installation)
whereis socat
2.3 Installing RabbitMQ
(1) cd into the directory to install
cd /apps/src/rabbitmq
rpm -Uvh rabbitmq-server-3.13.7-1.
(2) Check if the installation is successful
whereis socat
(3) Start and view RabbitMQ startup status
systemctl start rabbitmq-server
systemctl status rabbitmq-server
(4) Setting up power-on startup of RabbitMQ
systemctl enable rabbitmq-server
(5) Install the RabbitMQ web client.
rabbitmq-plugins enable rabbitmq_management
(6) Restarting RabbitMQ
systemctl restart rabbitmq-server