## **1、下载erlang,版本v24.0.3**
```
wget https://github.com/rabbitmq/erlang-rpm/releases/download/v24.0.3/erlang-24.0.3-1.el8.x86_64.rpm
```
## **2、更新依赖**
```
sudo dnf install epel-release
sudo dnf update
```
## **3、安装、查看erlang**
```
sudo dnf install erlang-24.0.3-1.el8.x86_64.rpm
erl -version
```
## **4、下载、安装rabbitmq v3.8.19**
```
wget https://www.github.com/rabbitmq/rabbitmq-server/releases/download/v3.8.19/rabbitmq-server-3.8.19-1.el8.noarch.rpm
sudo dnf install rabbitmq-server-3.8.19-1.el8.noarch.rpm
```
## **5、rabbitmq 命令**
```
systemctl start rabbitmq-server 启动
systemctl status rabbitmq-server 查看
systemctl enable rabbitmq-server 引导时自动启动
```
![](https://img.kancloud.cn/69/1d/691d59a0270552566aa10a9204d818e9_1039x479.png)