Skip to content

Commit bb3c842

Browse files
committed
DEV: 3rd commit of installation docs for CE8
1 parent 17ec5da commit bb3c842

File tree

9 files changed

+62
-55
lines changed

9 files changed

+62
-55
lines changed

content/operate/oss_and_stack/install/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ categories:
44
- operate
55
- stack
66
- oss
7-
description: How to install your preferred Redis flavor on your target platform
7+
description: How to install Redis CE on your target platform
88
hideListLinks: true
99
linkTitle: Install
10-
title: Install Redis CE
10+
title: Install Redis Community Edition (CE)
1111
weight: 30
1212
---
1313

14-
You can install [Redis Community Edition]({{< relref "/operate/oss_and_stack/" >}}) (CE) locally on your machine. Redis CE is available on Docker, Linux, macOS, and Windows (via Docker only).
14+
You can install [Redis CE]({{< relref "/operate/oss_and_stack/" >}}) locally on your machine. Redis CE is available on Docker, Linux, macOS, and Windows (via Docker only).
1515

1616
Here are the installation instructions:
1717

18-
* [Install Redis]({{< relref "/operate/oss_and_stack/install/install-stack" >}})
18+
* [Install Redis CE]({{< relref "/operate/oss_and_stack/install/install-stack" >}})
1919

2020
While you can install Redis CE locally, you might also consider using Redis Cloud by creating a [free account](https://redis.com/try-free/?utm_source=redisio&utm_medium=referral&utm_campaign=2023-09-try_free&utm_content=cu-redis_cloud_users). Redis CE 8.0 is not yet available on Redis Cloud.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Install Redis Community Edition on Linux
1010
weight: 5
1111
---
1212

13-
## Install on Ubuntu via AppImage
13+
## Install Redis Community Edition (CE) on Ubuntu Linux via AppImage
1414

1515
Fuse needs to be installed before proceeding. Install it as follows.
1616

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

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ categories:
44
- operate
55
- stack
66
- oss
7-
description: How to install Redis Community Edition on via APT
7+
description: How to install Redis Community Edition via APT
88
linkTitle: APT
99
title: Install Redis Community Edition on Linux
1010
weight: 2
1111
---
1212

13-
## Install from the official Ubuntu/Debian APT Repository
13+
## Install Redis Community Edition (CE) on Ubuntu or Debian Linux via APT
1414

15-
See [this page](https://redis.io/downloads/#redis-stack-downloads) for a complete list of supported Ubuntu/Debian platforms.
15+
See [this page](https://redis.io/downloads/#redis-stack-downloads) for a complete list of supported Ubuntu and Debian platforms.
1616
Add the repository to the APT index, update it, and install Redis CE:
1717

1818
{{< highlight bash >}}
@@ -24,7 +24,34 @@ sudo apt-get update
2424
sudo apt-get install redis-server
2525
{{< /highlight >}}
2626

27-
Redis will not start automatically, nor will it start at boot time. To do this, run the following commands.
27+
The most recent version of Redis CE will be installed, along with the redis-tools package (redis-cli, etc.).
28+
If you need to install an earlier version, run the following command to list the available versions:
29+
30+
{{< highlight bash >}}
31+
apt policy redis-server
32+
33+
redis-server:
34+
Installed: (none)
35+
Candidate: 6:7.4.2-1rl1~jammy1
36+
Version table:
37+
6:7.4.2-1rl1~jammy1 500
38+
500 https://packages.redis.io/deb jammy/main amd64 Packages
39+
6:7.4.1-1rl1~jammy1 500
40+
500 https://packages.redis.io/deb jammy/main amd64 Packages
41+
6:7.4.0-1rl1~jammy1 500
42+
500 https://packages.redis.io/deb jammy/main amd64 Packages
43+
6:7.2.7-1rl1~jammy1 500
44+
500 https://packages.redis.io/deb jammy/main amd64 Packages
45+
{{< /highlight >}}
46+
47+
To install an earlier version, say 7.4.2, run the following command:
48+
49+
{{< highlight bash >}}
50+
sudo apt-get install redis-server=6:7.4.2-1rl1~jammy1 redis-tools=6:7.4.2-1rl1~jammy1
51+
{{< /highlight >}}
52+
53+
Redis CE should start automatically after the initial installation, but it won't start automatically at boot time.
54+
To start Redis CE (if not already started) and enable it to start at boot time, run the following commands.
2855

2956
{{< highlight bash >}}
3057
sudo systemctl enable redis-server

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ categories:
44
- operate
55
- stack
66
- oss
7-
description: How to install Redis Community Edition using tarballs
7+
description: How to install Redis Community Edition using binary images
88
linkTitle: Binaries
9-
title: Install Redis Community Edition from binary tarballs
9+
title: Install Redis Community Edition on Linux
1010
weight: 8
1111
---
1212

13-
## Start Redis CE server
13+
## Start Redis Community Edition (CE) server from downloaded binary images
1414

1515
Install the openssl libraries for your platform. For example, on a Debian or Ubuntu instance run:
1616

@@ -34,13 +34,13 @@ Open the file `~/.bashrc` or `~/zshrc` (depending on your shell), and add the fo
3434
export PATH=/path/to/redis-server/bin:$PATH
3535
{{< / highlight >}}
3636

37-
If you have an existing Redis installation on your system, then you can choose override those override those PATH variables as before, or you can choose to only add redis-server binary as follows:
37+
If you have an existing Redis installation on your system, then you can choose to override those PATH variables as before, or you can choose to only add redis-server binary as follows:
3838

3939
{{< highlight bash >}}
4040
export PATH=/path/to/redis-server/bin/redis-server:$PATH
4141
{{< / highlight >}}
4242

43-
If you're running redis-server on a mac, please ensure you have openssl installed, via [homebrew](https://brew.sh/).
43+
If you're running redis-server on macOS, please ensure you have openssl installed, via [homebrew](https://brew.sh/).
4444

4545
Now you can start Redis CE as follows:
4646

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ title: Run Redis Community Edition on Docker
1010
weight: 1
1111
---
1212

13-
To get started with Redis Community Edition (CE) using Docker, you first need to select a Docker image:
13+
## Run Redis Community Edition (CE) on Docker
14+
15+
To get started with Redis CE using Docker, you first need to select a Docker image:
1416

1517
* `redis/redis-stack` contains both Redis Stack server and Redis Insight. This container is best for local development because you can use the embedded Redis Insight to visualize your data.
1618

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

Lines changed: 9 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ title: Install Redis Community Edition on macOS
1010
weight: 6
1111
---
1212

13+
## Install Redis Community Edition (CE) on macOS via Homebrew
14+
1315
{{< note >}}Installation using Homebrew is only supported on macOS.{{< /note >}}
1416

15-
To install Redis CE on macOS, use [Homebrew](https://brew.sh/). Make sure that you have [Homebrew installed](https://docs.brew.sh/Installation) before starting on the installation instructions below.
17+
To install Redis CE on macOS, use [Homebrew](https://brew.sh/).
18+
Make sure that you have [Homebrew installed](https://docs.brew.sh/Installation) before starting on the installation instructions below.
1619

1720
There are three brew casks available.
1821

@@ -76,51 +79,24 @@ In both cases, replace `<VERSION>` with your version of Redis Stack. For example
7679
export PATH=/opt/homebrew/Caskroom/redis-stack-server/6.2.0/bin:$PATH
7780
{{< / highlight >}}
7881

79-
### Start Redis Stack Server
82+
### Start Redis server
8083

81-
You can now start Redis Stack Server as follows:
84+
You can now start Redis server as follows:
8285

8386
{{< highlight bash >}}
8487
redis-stack-server
8588
{{< / highlight >}}
8689

87-
## Installing Redis after installing Redis Stack
88-
89-
If you've already installed Redis Stack with Homebrew and then try to install Redis with `brew install redis`, you may encounter errors like the following:
90-
91-
{{< highlight bash >}}
92-
Error: The brew link step did not complete successfully
93-
The formula built, but is not symlinked into /usr/local
94-
Could not symlink bin/redis-benchmark
95-
Target /usr/local/bin/redis-benchmark
96-
already exists. You may want to remove it:
97-
rm '/usr/local/bin/redis-benchmark'
98-
99-
To force the link and overwrite all conflicting files:
100-
brew link --overwrite redis
101-
102-
To list all files that would be deleted:
103-
brew link --overwrite --dry-run redis
104-
{{< / highlight >}}
105-
106-
In this case, you can overwrite the Redis binaries installed by Redis Stack by running:
107-
108-
{{< highlight bash >}}
109-
brew link --overwrite redis
110-
{{< / highlight >}}
111-
112-
However, Redis Stack Server will still be installed. To uninstall Redis Stack Server, see below.
113-
114-
## Uninstall Redis Stack
90+
## Uninstall Redis CE
11591

116-
To uninstall Redis Stack, run:
92+
To uninstall Redis CE, run:
11793

11894
{{< highlight bash >}}
11995
brew uninstall redis-stack-redisinsight redis-stack-server redis-stack
12096
brew untap redis-stack/redis-stack
12197
{{< / highlight >}}
12298

123-
## Connect to Redis
99+
## Connect to Redis CE
124100

125101
Once Redis is running, you can test it by running `redis-cli`:
126102

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ title: Install Redis Community Edition on Linux
1010
weight: 3
1111
---
1212

13-
## Install from the official Red Hat/Rocky RPM Feeds
13+
## Install Redis Community Edition (CE) on Red Hat, CentOS, or Rocky Linux via RPM
1414

1515
See [this page](https://redis.io/downloads/#redis-downloads) for a complete list of supported Red Hat/Rocky platforms.
16-
Follow these steps to install Redis Community Edition (CE).
16+
Follow these steps to install Redis CE.
1717

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

2020
{{< highlight bash >}}
2121
[Redis]
2222
name=Redis
23-
baseurl=http://packages.redis.io/rpm/rhel9 # replace rhel9 with the appropriate value for your platform
23+
baseurl=http://packages.redis.io/rpm/rhel9 # replace rhel9 with the appropriate value for your platform and remove this comment
2424
enabled=1
2525
gpgcheck=1
2626
{{< /highlight >}}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ title: Install Redis Community Edition on Linux
1010
weight: 4
1111
---
1212

13-
## Install on Ubuntu via Snap
13+
## Install Redis Community Edition (CE) on Ubuntu Linux via Snap
1414

15-
First, download the latest Redis Community Edition (CE) Snap package from [this page](https://redis.io/downloads/).
15+
First, download the latest Redis CE Snap package from [this page](https://redis.io/downloads/).
1616

1717
To install, run:
1818

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ categories:
66
- oss
77
description: How to run Redis Community Edition on Windows
88
linkTitle: Windows
9-
title: Run Redis Community Edition on Windows via Docker
9+
title: Run Redis Community Edition on Windows using Docker
1010
weight: 7
1111
---
1212

13-
To install Redis Community Edition (CE) on Windows, you will need to have Docker installed. When Docker is up and running, open Windows PowerShell and follow the instructions described in [Run Redis CE on Docker]({{< relref "/operate/oss_and_stack/install/install-stack/docker" >}}). Then, use Docker to connect with `redis-cli` as explained in that topic.
13+
## Run Redis Community Edition (CE) on Windows using Docker
14+
15+
To install Redis CE on Windows, you will need to have Docker installed. When Docker is up and running, open Windows PowerShell and follow the instructions described in [Run Redis CE on Docker]({{< relref "/operate/oss_and_stack/install/install-stack/docker" >}}). Then, use Docker to connect with `redis-cli` as explained in that topic.
1416

1517
{{% alert title="About using WSL and Ubuntu for Windows " color="warning" %}}
1618
If you attempt to use Windows Subsystem for Linux (WSL) or Ubuntu for Windows to follow [Linux instructions]({{< relref "/operate/oss_and_stack/install/install-stack/apt" >}}), you will get a `systemd` error telling you `System has not been booted with systemd as init system (PID 1). Can't operate.` Do not fret. Just use Docker.

0 commit comments

Comments
 (0)