首頁 > 軟體

CentOS8使用yum安裝RabbitMQ

2019-12-17 00:10:23

如何在CentOS8上安裝RabbitMQ 

1

新增erlang 源至yum儲存庫

rpm -Uvh https://download.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm


2

安裝erlang

yum install erlang

遇到提示時,輸入y命令



3

在安裝rabbitmq時提示依賴socat

yum install socat

遇到提示時,輸入y命令


4

匯入RabbitMQ源

rpm -Uvh https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.8.0/rabbitmq-server-3.8.0-1.el7.noarch.rpm


5

安裝RabbitMQ公共庫秘鑰

rpm --import https://www.rabbitmq.com/rabbitmq-release-signing-key.asc


6

安裝RabbitMQ

yum install rabbitmq-server-3.6.8-1.el7.noarch.rpm

遇到提示時, 輸入y命令



7

啟動RabbitMQ服務

service rabbitmq-server start


8

檢視RabbitMQ服務狀態

service rabbitmq-server status



IT145.com E-mail:sddin#qq.com