Skip to content

Commit 928b9ef

Browse files
authored
Update rpm installation instructions
1 parent 7b893e1 commit 928b9ef

File tree

1 file changed

+13
-3
lines changed
  • content/operate/oss_and_stack/install/install-stack

1 file changed

+13
-3
lines changed

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

+13-3
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,25 @@ Follow these steps to install Redis Open Source.
1818

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

21-
{{< highlight bash >}}
21+
- For Rocky Linux 9 / AlmaLinux 9 / etc...
22+
{{< highlight ini >}}
23+
[Redis]
24+
name=Redis
25+
baseurl=http://packages.redis.io/rpm/rockylinux9
26+
enabled=1
27+
gpgcheck=1
28+
{{< /highlight >}}
29+
30+
- For Rocky Linux 8 / AlmaLinux 8 / etc...
31+
{{< highlight ini >}}
2232
[Redis]
2333
name=Redis
24-
baseurl=http://packages.redis.io/rpm/rhel9 # replace rhel9 with the appropriate value for your platform and remove this comment
34+
baseurl=http://packages.redis.io/rpm/rockylinux8
2535
enabled=1
2636
gpgcheck=1
2737
{{< /highlight >}}
2838

29-
1. Run the following commands:
39+
2. Run the following commands:
3040

3141
{{< highlight bash >}}
3242
curl -fsSL https://packages.redis.io/gpg > /tmp/redis.key

0 commit comments

Comments
 (0)