This repository creates the redis-tools rpm, uploading it to our S3 RPM feed.
- Create the file
/etc/yum.repos.d/redis.repo
with the following contents.
- For Rocky Linux 9 / AlmaLinux 9 / etc...
[Redis]
name=Redis
baseurl=http://packages.redis.io/rpm/rockylinux9
enabled=1
gpgcheck=1
- For Rocky Linux 8 / AlmaLinux 8 / etc...
[Redis]
name=Redis
baseurl=http://packages.redis.io/rpm/rockylinux8
enabled=1
gpgcheck=1
- Run the following commands:
curl -fsSL https://packages.redis.io/gpg > /tmp/redis.key
sudo rpm --import /tmp/redis.key
sudo yum install redis
To start the redis-server
:
redis-server /etc/redis/redis.conf &
Note that redis-server
output is redirected to /var/log/redis/redis-server.log
.
Tip
Redis will not start automatically, nor will it start at boot time. To do this, run the following commands.
sudo systemctl enable redis
sudo systemctl start redis
This will start redis-server
with /etc/redis/redis.conf
.
Redis officially tests the latest version of this distribution against the following OSes:
- CentOS 9
- Rocky Linux 8.10
- Rocky Linux 9.5
- AlmaLinux 8.10
- AlmaLinux 9.5