Install Erlang 23 and Rabbitmq on Ubuntu 20

Carvia Tech | November 08, 2020 | 2 min read | 552 views

This article will walk you through Erlang 23 and RabbitMQ installation on Ubuntu 20.04 focal server.

First of all run the system update using the below command:

sudo apt update -y
sudo apt install curl gnupg -y

Step 1. Import RabbitMQ GPG Signing key

Run the following commands to import Erlang repository GPG key.

$ curl -fsSL | sudo apt-key add -

Also, install the HTTPS transport if missing

sudo apt-get install apt-transport-https

Step 2. Add RabbitMQ & Erlang 23.x repository

Create Rabbitmq repository file.

$ sudo nano /etc/apt/sources.list.d/bintray.rabbitmq.list

With below content:

deb focal erlang
deb bionic main

Save and close the file.

Step 3. Install Erlang 23.x and RabbitMQ

Now you are ready for installing the Erlang version 23 and RabbitMQ Server on your system.

Update the system packages list first, by running the below command:

$ sudo apt update -y

Now, install Erlang package and RabbitMQ server:

$ sudo apt install rabbitmq-server -y --fix-missing

verify the installation, by running the below command:

$ erl -v

You shall see the below output:

Erlang/OTP 23 [erts-11.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1]
Eshell V11.1  (abort with ^G)

Step 4. Manage RabbitMQ service

Use systemctl to manage rabbitmq server

Check status of service
$ sudo systemctl status rabbitmq-server.service
Stop the service
$ sudo systemctl stop rabbitmq-server.service
Start the service
$ sudo systemctl start rabbitmq-server.service
Restart the service
$ sudo systemctl restart rabbitmq-server.service

That’s all.

Top articles in this category:
  1. MySql 8 installation on Ubuntu 20
  2. Install Cassandra 4 on Ubuntu 20.04
  3. Install & configure Redis on Ubuntu
  4. Install ElasticSearch 7 on Ubuntu 20.04
  5. Install OpenJDK 11 on Ubuntu 18.04 LTS
  6. Upgrade Jenkins on Ubuntu 18.04 LTS
  7. Upgrade MySQL from 5.7 to 8 on Ubuntu 18.04

Find more on this topic:

Recommended books for interview preparation:

This website uses cookies to ensure you get the best experience on our website. more info