查版本对应,CentOS-7,选择Erlang 23.3.4,RabbitMQ 3.9.16
curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash
sudo yum install erlang-23.3.4.11-1.el7.x86_64
curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash
sudo yum install rabbitmq-server-3.9.16-1.el7.noarch
systemctl start rabbitmq-server
systemctl enable rabbitmq-server
systemctl status rabbitmq-server
rabbitmq-plugins enable rabbitmq_management
rabbitmq-plugins list
前面有[e*]的就是启动成功了,应该有3个。
service firewalld stop
如果需要开机不启动防火墙(虚拟机测试适用)
systemctl disable firewalld
更多【运维-【Erlang】【RabbitMQ】Linux(CentOS7)安装Erlang和RabbitMQ】相关视频教程:www.yxfzedu.com