Skip to content

Redis

Redis is an in-memory key-value store used by Peering Manager for caching and queuing.

This section explains the installation and configuration of a local Redis service. If you already have a Redis service in place, you can skip this step.

Redis version 6+ is required so you may wish to check that your distribution can provide a compatible version.

Info

You may use any drop-in replacement, such as Valkey, to Redis for licensing reasons.

Installation

# apt install redis-server
# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
# yum --enablerepo=remi install redis
# yum install redis

You may wish to modify the Redis configuration at /etc/redis.conf or /etc/redis/redis.conf, however in most cases the default configuration is sufficient.

Then enable the redis service by running systemctl enable redis.service --now.

Verify Service Status

Use the redis-cli utility to ensure the Redis service is operational:

$ redis-cli ping
PONG