erlang – 在RHEL上安装rabbitmq-server

尝试在RHEL上安装rabbitmq-server时:

[ec2-user@ip-172-31-34-1XX ~]$sudo rpm -i rabbitmq-server-3.3.5-1.noarch.rpm 
  error: Failed dependencies:
     erlang >= R13B-03 is needed by rabbitmq-server-3.3.5-1.noarch

[ec2-user@ip-172-31-34-1XX ~]$rpm -i rabbitmq-server-3.3.5-1.noarch.rpm 
  error: Failed dependencies:
    erlang >= R13B-03 is needed by rabbitmq-server-3.3.5-1.noarch

我不确定为什么尝试rpm安装因为运行$erlgives而无法识别我的erlang安装:

[ec2-user@ip-172-31-34-1XX ~]$which erl
  /usr/local/bin/erl
[ec2-user@ip-172-31-34-1XX ~]$sudo which erl
  /bin/erl
您需要确保安装了最新版本的Erlang.它可以在EPEL存储库中找到.

您可以通过执行以下操作来安装它:

wget -O /etc/yum.repos.d/epel-erlang.repo http://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo

yum安装erlang

按照上面的Erlang设置,您可以继续安装RabbitMQ,如下所示:

rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
  yum install rabbitmq-server-3.3.5-1.noarch.rpm

您可以在他们的setup guide中找到更多信息

https://stackoverflow.com/questions/25855331/installing-rabbitmq-server-on-rhel

转载注明原文:erlang – 在RHEL上安装rabbitmq-server