6

I would like easy installation instructions for RabbitMQ Server on my Pi. I tried a lot of things from various sources and they just don't work. One source even said RabbitMQ Server is pre-installed on Raspbian, which is not the case.

More detailed info about my hardware, OS, Kernel, etc...

pi@raspberrypi:/bin $ *cat /etc/debian_version*  
9.3  
pi@raspberrypi:/bin $ *cat /etc/os-release*  
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@raspberrypi:/bin $ uname -a
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux  

pi@raspberrypi:/bin $ *cat /proc/cpuinfo*  
processor   : 0
model name  : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xc07
CPU revision    : 5

processor   : 1
model name  : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xc07
CPU revision    : 5

processor   : 2
model name  : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xc07
CPU revision    : 5

processor   : 3
model name  : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part    : 0xc07
CPU revision    : 5

Hardware    : BCM2835
Revision    : a01041
Darth Vader
  • 4,218
  • 24
  • 47
  • 70
sachinsdesai
  • 73
  • 1
  • 1
  • 4

2 Answers2

10

You can install it with the following command:

sudo apt-get install rabbitmq-server

I found the package name (rabbitmq-server) using apt-cache search:

sudo apt-cache search rabbitmq

You may also want to read the man (manual page - Linux's help system) pages for apt-get and apt-cache commands:

man apt-get and man apt-cache.

Steve Robillard
  • 34,988
  • 18
  • 106
  • 110
5

The approved answer did not work for me with Stretch. If it does work it will give you an older version. I tried a lot of different things to get the latest version and this was the only one I found that worked. From the instructions on this page https://www.rabbitmq.com/install-debian.html

curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.deb.sh | sudo bash sudo apt-get install rabbitmq-server sudo systemctl enable rabbitmq-server sudo systemctl start rabbitmq-server sudo rabbitmq-plugins enable rabbitmq_management

In your web browser go to http://<IP of PI>:15672/

MikeKulls
  • 168
  • 1
  • 4