Skip to content

Commit be8b152

Browse files
committed
Finalize the build instructions
1 parent 5c6af1a commit be8b152

File tree

9 files changed

+97
-55
lines changed

9 files changed

+97
-55
lines changed

content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ categories:
55
- stack
66
- oss
77
linkTitle: AlmaLinux/Rocky 8.10
8-
title: Build and run Redis Open Source on AlmaLinux/Rocky Linux 8.10
8+
title: Build and run Redis Community Edition 8 on AlmaLinux/Rocky Linux 8.10
99
weight: 5
1010
---
1111

12-
Follow the steps below to build and run Redis Open Source from its source code on a system running AlmaLinux and Rocky Linux 8.10.
12+
Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running AlmaLinux and Rocky Linux 8.10.
1313

1414
{{< note >}}
1515
Docker images used to produce these build notes:
@@ -157,30 +157,29 @@ export INSTALL_RUST_TOOLCHAIN=yes
157157
export DISABLE_WERRORS=yes
158158

159159
make -j "$(nproc)" all
160-
sudo make install
161160
```
162161

163162
## 6. (Optional) Verify the installation
164163

165164
Check the installed Redis server and CLI versions:
166165

167166
```bash
168-
redis-server --version
169-
redis-cli --version
167+
./src/redis-server --version
168+
./src/redis-cli --version
170169
```
171170

172171
## 7. Start Redis
173172

174173
To start Redis, use the following command:
175174

176175
```bash
177-
redis-server /path/to/redis.conf
176+
./src/redis-server redis-full.conf
178177
```
179178

180179
To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following:
181180

182181
```
183-
redis-cli INFO
182+
./src/redis-cli INFO
184183
...
185184
# Modules
186185
module:name=ReJSON,ver=20803,api=1,filters=0,usedby=[search],using=[],options=[handle-io-errors]
@@ -191,3 +190,10 @@ module:name=RedisCompat,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
191190
module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
192191
...
193192
```
193+
194+
## 8. (Optional) Install Redis to its default location
195+
196+
```
197+
cd /usr/src/redis-<version>
198+
sudo make install
199+
```

content/operate/oss_and_stack/install/build-stack/almalinux-rocky-9.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ categories:
55
- stack
66
- oss
77
linkTitle: AlmaLinux/Rocky 9.5
8-
title: Build and run Redis Open Source on AlmaLinux/Rocky Linux 9.5
8+
title: Build and run Redis Community Edition 8 on AlmaLinux/Rocky Linux 9.5
99
weight: 10
1010
---
1111

12-
Follow the steps below to build and run Redis Open Source from its source code on a system running AlmaLinux and Rocky Linux 9.5.
12+
Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running AlmaLinux and Rocky Linux 9.5.
1313

1414
{{< note >}}
1515
Docker images used to produce these build notes:
@@ -155,30 +155,29 @@ export INSTALL_RUST_TOOLCHAIN=yes
155155
export DISABLE_WERRORS=yes
156156

157157
make -j "$(nproc)" all
158-
sudo make install
159158
```
160159

161160
## 6. (Optional) Verify the installation
162161

163162
Check that Redis was installed successfully:
164163

165164
```bash
166-
redis-server --version
167-
redis-cli --version
165+
./src/redis-server --version
166+
./src/redis-cli --version
168167
```
169168

170169
## 7. Start Redis
171170

172171
To start Redis, use the following command:
173172

174173
```bash
175-
redis-server /path/to/redis.conf
174+
./src/redis-server redis-full.conf
176175
```
177176

178177
To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following:
179178

180179
```
181-
redis-cli INFO
180+
./src/redis-cli INFO
182181
...
183182
# Modules
184183
module:name=ReJSON,ver=20803,api=1,filters=0,usedby=[search],using=[],options=[handle-io-errors]
@@ -189,3 +188,10 @@ module:name=RedisCompat,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
189188
module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
190189
...
191190
```
191+
192+
## 8. (Optional) Install Redis to its default location
193+
194+
```
195+
cd /usr/src/redis-<version>
196+
sudo make install
197+
```

content/operate/oss_and_stack/install/build-stack/debian-bookworm.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ categories:
55
- stack
66
- oss
77
linkTitle: Debian 12 (Bookworm)
8-
title: Build and run Redis Open Source on Debian 12 (Bookworm)
8+
title: Build and run Redis Community Edition 8 on Debian 12 (Bookworm)
99
weight: 15
1010
---
1111

12-
Follow the steps below to build and run Redis Open Source from its source code on a system running Debian 12 (Bookworm).
12+
Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running Debian 12 (Bookworm).
1313

1414
{{< note >}}
1515
Docker images used to produce these build notes:
@@ -83,7 +83,6 @@ export INSTALL_RUST_TOOLCHAIN=yes
8383
export DISABLE_WERRORS=yes
8484

8585
make -j "$(nproc)" all
86-
sudo make install
8786
```
8887

8988
This builds the Redis server, CLI, and any included modules.
@@ -93,22 +92,22 @@ This builds the Redis server, CLI, and any included modules.
9392
You can confirm that Redis has been built and installed successfully by checking the version:
9493

9594
```bash
96-
redis-server --version
97-
redis-cli --version
95+
./src/redis-server --version
96+
./src/redis-cli --version
9897
```
9998

10099
## 5. Start Redis
101100

102101
To start Redis, use the following command:
103102

104103
```bash
105-
redis-server /path/to/redis.conf
104+
./src/redis-server redis-full.conf
106105
```
107106

108107
To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following:
109108

110109
```
111-
redis-cli INFO
110+
./src/redis-cli INFO
112111
...
113112
# Modules
114113
module:name=ReJSON,ver=20803,api=1,filters=0,usedby=[search],using=[],options=[handle-io-errors]
@@ -119,3 +118,10 @@ module:name=RedisCompat,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
119118
module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
120119
...
121120
```
121+
122+
## 6. (Optional) Install Redis to its default location
123+
124+
```
125+
cd /usr/src/redis-version
126+
sudo make install
127+
```

content/operate/oss_and_stack/install/build-stack/debian-bullseye.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ categories:
55
- stack
66
- oss
77
linkTitle: Debian 11 (Bullseye)
8-
title: Build and run Redis Open Source on Debian 11 (Bullseye)
8+
title: Build and run Redis Community Edition 8 on Debian 11 (Bullseye)
99
weight: 20
1010
---
1111

12-
Follow the steps below to build and run Redis Open Source from its source code on a system running Debian 11 (Bullseye).
12+
Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running Debian 11 (Bullseye).
1313

1414
{{< note >}}
1515
Docker images used to produce these build notes:
@@ -82,7 +82,6 @@ export INSTALL_RUST_TOOLCHAIN=yes
8282
export DISABLE_WERRORS=yes
8383

8484
make -j "$(nproc)" all
85-
sudo make install
8685
```
8786

8887
This builds the Redis server, CLI, and any included modules.
@@ -92,22 +91,22 @@ This builds the Redis server, CLI, and any included modules.
9291
You can confirm that Redis has been built and installed successfully by checking the version:
9392

9493
```bash
95-
redis-server --version
96-
redis-cli --version
94+
./src/redis-server --version
95+
./src/redis-cli --version
9796
```
9897

9998
## 5. Start Redis
10099

101100
To start Redis, use the following command:
102101

103102
```bash
104-
redis-server /path/to/redis.conf
103+
./src/redis-server redis-full.conf
105104
```
106105

107106
To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following:
108107

109108
```
110-
redis-cli INFO
109+
./src/redis-cli INFO
111110
...
112111
# Modules
113112
module:name=ReJSON,ver=20803,api=1,filters=0,usedby=[search],using=[],options=[handle-io-errors]
@@ -118,3 +117,10 @@ module:name=RedisCompat,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
118117
module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
119118
...
120119
```
120+
121+
## 6. (Optional) Install Redis to its default location
122+
123+
```
124+
cd /usr/src/redis-<version>
125+
sudo make install
126+
```

content/operate/oss_and_stack/install/build-stack/macos-13-14.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ categories:
55
- stack
66
- oss
77
linkTitle: macOS 13 / macOS 14
8-
title: Build and run Redis Open Source on macOS 13 (Ventura) and macOS 14 (Sonoma)
8+
title: Build and run Redis Community Edition 8 on macOS 13 (Ventura) and macOS 14 (Sonoma)
99
weight: 50
1010
---
1111

12-
Follow the steps below to build and run Redis Open Source from its source code on a system running macOS 13 (Ventura) and macOS 14 (Sonoma).
12+
Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running macOS 13 (Ventura) and macOS 14 (Sonoma).
1313

1414
## 1. Install homebrew
1515

@@ -103,13 +103,13 @@ To start Redis, use the following command:
103103
```bash
104104
export LC_ALL=en_US.UTF-8
105105
export LANG=en_US.UTF-8
106-
build_dir/bin/redis-server /path/to/redis.conf
106+
build_dir/bin/redis-server redis-full.conf
107107
```
108108

109109
To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following:
110110

111111
```
112-
redis-cli INFO
112+
build_dir/bin/redis-cli INFO
113113
...
114114
# Modules
115115
module:name=ReJSON,ver=20803,api=1,filters=0,usedby=[search],using=[],options=[handle-io-errors]

content/operate/oss_and_stack/install/build-stack/macos-15.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ categories:
55
- stack
66
- oss
77
linkTitle: macOS 15 (Sequoia)
8-
title: Build and run Redis Open Source on macOS 15 (Sequoia)
8+
title: Build and run Redis Community Edition 8 on macOS 15 (Sequoia)
99
weight: 40
1010
---
1111

12-
Follow the steps below to build and run Redis Open Source from its source code on a system running macOS 15 (Sequoia).
12+
Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running macOS 15 (Sequoia).
1313

1414
To be provided at a later date.

content/operate/oss_and_stack/install/build-stack/ubuntu-focal.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ categories:
55
- stack
66
- oss
77
linkTitle: Ubuntu 20.04 (Focal)
8-
title: Build and run Redis Open Source on Ubuntu 20.04 (Focal)
8+
title: Build and run Redis Community Edition 8 on Ubuntu 20.04 (Focal)
99
weight: 25
1010
---
1111

12-
Follow the steps below to build and run Redis Open Source from its source code on a system running Ubuntu 20.04 (Focal).
12+
Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running Ubuntu 20.04 (Focal).
1313

1414
{{< note >}}
1515
Docker images used to produce these build notes:
@@ -104,30 +104,29 @@ export INSTALL_RUST_TOOLCHAIN=yes
104104
export DISABLE_WERRORS=yes
105105

106106
make -j "$(nproc)" all
107-
sudo make install
108107
```
109108

110109
## 6. (Optional) Verify the installation
111110

112111
Confirm the Redis installation:
113112

114113
```bash
115-
redis-server --version
116-
redis-cli --version
114+
./src/redis-server --version
115+
./src/redis-cli --version
117116
```
118117

119118
## 7. Start Redis
120119

121120
To start Redis, use the following command:
122121

123122
```bash
124-
redis-server /path/to/redis.conf
123+
./src/redis-server redis-full.conf
125124
```
126125

127126
To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following:
128127

129128
```
130-
redis-cli INFO
129+
./src/redis-cli INFO
131130
...
132131
# Modules
133132
module:name=ReJSON,ver=20803,api=1,filters=0,usedby=[search],using=[],options=[handle-io-errors]
@@ -138,3 +137,10 @@ module:name=RedisCompat,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
138137
module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[]
139138
...
140139
```
140+
141+
## 8. (Optional) Install Redis to its default location
142+
143+
```
144+
cd /usr/src/redis-<version>
145+
sudo make install
146+
```

0 commit comments

Comments
 (0)