CentOS7使用yum安装RabbitMQ

添加erlang 源至yum存储库

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

CentOS7使用yum安装RabbitMQ

安装erlang

yum install erlang

遇到提示时,输入y命令

CentOS7使用yum安装RabbitMQ

CentOS7使用yum安装RabbitMQ

CentOS7使用yum安装RabbitMQ

CentOS7使用yum安装RabbitMQ

导入RabbitMQ源

rpm -Uvh https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.8/rabbitmq-server-3.6.8-1.el7.noarch.rpm

 

如果第三步报错的话 执行 wget https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.8/rabbitmq-server-3.6.8-1.el7.noarch.rpm
CentOS7使用yum安装RabbitMQ

安装RabbitMQ公共库秘钥

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

CentOS7使用yum安装RabbitMQ

安装RabbitMQ

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

遇到提示时, 输入y命令

CentOS7使用yum安装RabbitMQ

启动RabbitMQ服务

service rabbitmq-server start

CentOS7使用yum安装RabbitMQ

查看RabbitMQ服务状态

service rabbitmq-server status

相关推荐