Skip to content

Commit 23b86f5

Browse files
adamiBsdwdougherty
andauthored
Update rpm installation instructions (#1496)
* Update rpm installation instructions * A few updates --------- Co-authored-by: David W. Dougherty <dwdougherty@gmail.com>
1 parent 99e0cd4 commit 23b86f5

File tree

1 file changed

+16
-7
lines changed
  • content/operate/oss_and_stack/install/install-stack

1 file changed

+16
-7
lines changed

content/operate/oss_and_stack/install/install-stack/rpm.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ description: How to install Redis Open Source using RPM
88
linkTitle: RPM
99
title: Install Redis Open Source on Linux
1010
weight: 3
11-
bannerText: These installation instructions are not yet complete for Redis 8 in Redis Open Source (Redis 8). For installation instructions prior to Redis 8, see [these pages]({{< relref "/operate/oss_and_stack/install/archive" >}}).
1211
---
1312

1413
## Install Redis Open Source on Red Hat, CentOS, or Rocky Linux using RPM
@@ -18,26 +17,36 @@ Follow these steps to install Redis Open Source.
1817

1918
1. Create the file `/etc/yum.repos.d/redis.repo` with the following contents.
2019

21-
{{< highlight bash >}}
20+
- For Rocky Linux 9 and AlmaLinux 9
21+
{{< highlight ini >}}
22+
[Redis]
23+
name=Redis
24+
baseurl=http://packages.redis.io/rpm/rockylinux9
25+
enabled=1
26+
gpgcheck=1
27+
{{< /highlight >}}
28+
29+
- For Rocky Linux 8 and AlmaLinux 8
30+
{{< highlight ini >}}
2231
[Redis]
2332
name=Redis
24-
baseurl=http://packages.redis.io/rpm/rhel9 # replace rhel9 with the appropriate value for your platform and remove this comment
33+
baseurl=http://packages.redis.io/rpm/rockylinux8
2534
enabled=1
2635
gpgcheck=1
2736
{{< /highlight >}}
2837

29-
1. Run the following commands:
38+
2. Run the following commands:
3039

3140
{{< highlight bash >}}
3241
curl -fsSL https://packages.redis.io/gpg > /tmp/redis.key
3342
sudo rpm --import /tmp/redis.key
3443
sudo yum install epel-release
35-
sudo yum install redis-server
44+
sudo yum install redis
3645
{{< / highlight >}}
3746

3847
Redis will not start automatically, nor will it start at boot time. To do this, run the following commands.
3948

4049
{{< highlight bash >}}
41-
sudo systemctl enable redis-server
42-
sudo systemctl start redis-server
50+
sudo systemctl enable redis
51+
sudo systemctl start redis
4352
{{< /highlight >}}

0 commit comments

Comments
 (0)