Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing rabbitmq on centos7

Tags:

rabbitmq

I am trying to install rabbotmq on centos7. Following the official instructions, I ran:

sudo yum install rabbitmq-server-3.5.1-1.noarch.rpm

and I get this error:

Loaded plugins: fastestmirror
Examining rabbitmq-server-3.5.1-1.noarch.rpm: rabbitmq-server-3.5.1-1.noarch
Marking rabbitmq-server-3.5.1-1.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rabbitmq-server.noarch 0:3.5.1-1 will be installed
--> Processing Dependency: erlang >= R13B-03 for package: rabbitmq-server-3.5.1-1.noarch
http://repos.fedorapeople.org/repos/peter/erlang/epel-7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
Loading mirror speeds from cached hostfile
 * base: centos.mirrors.hoobly.com
 * extras: linux.mirrors.es.net
 * updates: mirror.pac-12.org
--> Finished Dependency Resolution
Error: Package: rabbitmq-server-3.5.1-1.noarch (/rabbitmq-server-3.5.1-1.noarch)
           Requires: erlang >= R13B-03
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

then I tried installing erlang with the instructions from: Installing rabbitmq-server on RHEL

It seemed to have been installed, but my rabbitmq installation still fails with the same message. Any ideas how to fix the problem?

like image 822
max Avatar asked Dec 10 '22 23:12

max


2 Answers

Following the instruction lead me to error: No package rabbitmq-server-3.6.1-1.noarch.rpm available.

Then I simply tried: yum install rabbitmq-server, it works for me.

Or checkout this one: Rabbitmq at Digitalocean - I used to config web monitoring on my server.

like image 92
ThangTD Avatar answered Jan 05 '23 00:01

ThangTD


This is something that I've fought with, and found that the best solution is to install Erlang and RabbitMQ from standalone RPMs outside of yum; see Install Erlang in RMQ's documentation. Specifically, the stripped-down Erlang install provided by RabbitMQ (see here) should install easily, then allow you to install RMQ from an RPM downloaded from the RabbitMQ site. If that package doesn't work, then try the Erlang distributions from Erlang Solutions.

like image 33
Chris Heald Avatar answered Jan 04 '23 23:01

Chris Heald