Skip to content

Instantly share code, notes, and snippets.

@vanderw
Last active March 3, 2026 09:21
Show Gist options
  • Select an option

  • Save vanderw/72cb01c89ed04fc10db78456804ed86f to your computer and use it in GitHub Desktop.

Select an option

Save vanderw/72cb01c89ed04fc10db78456804ed86f to your computer and use it in GitHub Desktop.
How to install Redis on Alma Linux 10

Assuming you are root

dnf update -y
vi /etc/yum.repos.d/redis.repo

add content below

[Redis]
name=Redis
baseurl=http://packages.redis.io/rpm/rockylinux9
enabled=1
gpgcheck=1
curl -fsSL https://packages.redis.io/gpg > /tmp/redis.key
rpm --import /tmp/redis.key
yum install redis
systemctl enable redis
systemctl start redis

Original Link https://www.hostmycode.in/tutorials/install-redis-on-almalinux-for-wordpress-cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment