Redis is an open-source in-memory key-value data store. It can be used as a database, cache and, message broker, and supports various data structures such as Strings, Hashes, Lists, Sets, and more. Redis provides high availability via Redis Sentinel and automatic partitioning across multiple Redis nodes with Redis Cluster.

This tutorial describes how to install and configure Redis on Ubuntu 20.04.

Installing Redis on Ubuntu 20.04

Installing Redis on Ubuntu is a straightforward process.

Redis version 5.0.x is included in the default Ubuntu 20.04 repositories. To install it run the following commands as root or user with sudo privileges :

sudo apt update
sudo apt install redis-server

Once the installation is completed, the Redis service will start automatically. To check the status of the service, enter the following command:

sudo systemctl status redis-server

You should see something like this:

ā— redis-server.service - Advanced key-value store
     Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2020-06-06 20:03:08 UTC; 10s ago
...

#ubuntu 20.04 #ubuntu #redis

How to Install and Configure Redis on Ubuntu 20.04
4.95 GEEK