1.先选择合适的版本
rabbitmq与erlang版本对照:
RabbitMQ Erlang Version Requirements — RabbitMQ
rabbitmq下载:
Releases · rabbitmq/rabbitmq-server (github.com)
elang下载:
Release 23.3.4.18 · rabbitmq/erlang-rpm (github.com)
本文选择先下载到本地,通过xftp拖拽到centos中
2.解压
3.设置开机自启动:
chkconfig rabbitmg-server on
4.启动:
service rabbitmq-server start
5.查看状态:
service rabbitmg-server status
安装成功