Skip to content

Commit 5c6af1a

Browse files
committed
Adding the remaining pages
1 parent b4420eb commit 5c6af1a

File tree

8 files changed

+124
-60
lines changed

8 files changed

+124
-60
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ cmake --version
122122

123123
## 4. Download and extract the Redis source
124124

125-
The Redis source code is available from [the Redis GitHub site](https://github.com/redis/redis/releases). Select the release you want to build and select the .tar.gz file from the **Assets** drop down menu. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes GitHub repository](https://github.com/redis/redis-hashes).
125+
The Redis source code is available from [the Redis GitHub site](https://github.com/redis/redis/releases). Select the release you want to build and then select the .tar.gz file from the **Assets** drop down menu. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes GitHub repository](https://github.com/redis/redis-hashes).
126126

127127
Copy the tar(1) file to `/usr/src`.
128128

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,25 @@ cmake --version
120120

121121
## 4. Download and extract the Redis source
122122

123-
The Redis source code is available from the [Download](https://redis.io/downloads) page. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes git repository](https://github.com/redis/redis-hashes).
123+
The Redis source code is available from [the Redis GitHub site](https://github.com/redis/redis/releases). Select the release you want to build and then select the .tar.gz file from the **Assets** drop down menu. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes GitHub repository](https://github.com/redis/redis-hashes).
124124

125125
Copy the tar(1) file to `/usr/src`.
126126

127+
Alternatively, you can download the file directly using the `wget` command, as shown below.
128+
129+
```
130+
cd /usr/src
131+
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
132+
```
133+
134+
Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.
135+
127136
Extract the source:
128137

129138
```bash
130139
cd /usr/src
131-
tar xvf redis.tar.gz
132-
rm redis.tar.gz
140+
tar xvf redis-<version>.tar.gz
141+
rm redis-<version>.tar.gz
133142
```
134143

135144
## 5. Build Redis
@@ -138,7 +147,7 @@ Enable the GCC toolset and compile Redis with TLS and module support:
138147

139148
```bash
140149
source /etc/profile.d/gcc-toolset-13.sh
141-
cd /usr/src/redis
150+
cd /usr/src/redis-<version>
142151

143152
export BUILD_TLS=yes
144153
export BUILD_WITH_MODULES=yes

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

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,36 @@ sudo apt-get install -y --no-install-recommends \
4747
libtool
4848
```
4949

50-
## 2. Download the Redis source code
50+
## 2. Download and extract the Redis source
5151

52-
The Redis source code is available from the [Download](https://redis.io/downloads) page. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes git repository](https://github.com/redis/redis-hashes).
52+
The Redis source code is available from [the Redis GitHub site](https://github.com/redis/redis/releases). Select the release you want to build and then select the .tar.gz file from the **Assets** drop down menu. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes GitHub repository](https://github.com/redis/redis-hashes).
5353

5454
Copy the tar(1) file to `/usr/src`.
5555

56-
## 3. Extract the source archive
56+
Alternatively, you can download the file directly using the `wget` command, as shown below.
5757

58-
Create a directory for the source code and extract the contents into it:
58+
```
59+
cd /usr/src
60+
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
61+
```
62+
63+
Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.
64+
65+
Extract the source:
5966

6067
```bash
6168
cd /usr/src
62-
tar xvf redis.tar.gz
63-
rm redis.tar.gz
69+
tar xvf redis-<version>.tar.gz
70+
rm redis-<version>.tar.gz
6471
```
6572

66-
## 4. Build Redis
73+
74+
## 3. Build Redis
6775

6876
Set the appropriate environment variables to enable TLS, modules, and other build options, then compile and install Redis:
6977

7078
```bash
71-
cd /usr/src/redis
79+
cd /usr/src/redis-<version>
7280
export BUILD_TLS=yes
7381
export BUILD_WITH_MODULES=yes
7482
export INSTALL_RUST_TOOLCHAIN=yes
@@ -80,7 +88,7 @@ sudo make install
8088

8189
This builds the Redis server, CLI, and any included modules.
8290

83-
## 5. (Optional) Verify the installation
91+
## 4. (Optional) Verify the installation
8492

8593
You can confirm that Redis has been built and installed successfully by checking the version:
8694

@@ -89,7 +97,7 @@ redis-server --version
8997
redis-cli --version
9098
```
9199

92-
## 6. Start Redis
100+
## 5. Start Redis
93101

94102
To start Redis, use the following command:
95103

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

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,35 @@ sudo apt-get install -y --no-install-recommends \
4747
libtool
4848
```
4949

50-
## 2. Download the Redis source code
50+
## 2. Download and extract the Redis source
5151

52-
The Redis source code is available from the [Download](https://redis.io/downloads) page. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes git repository](https://github.com/redis/redis-hashes).
52+
The Redis source code is available from [the Redis GitHub site](https://github.com/redis/redis/releases). Select the release you want to build and then select the .tar.gz file from the **Assets** drop down menu. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes GitHub repository](https://github.com/redis/redis-hashes).
5353

5454
Copy the tar(1) file to `/usr/src`.
5555

56-
## 3. Extract the source archive
56+
Alternatively, you can download the file directly using the `wget` command, as shown below.
5757

58-
Create a directory for the source code and extract the contents into it:
58+
```
59+
cd /usr/src
60+
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
61+
```
62+
63+
Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.
64+
65+
Extract the source:
5966

6067
```bash
6168
cd /usr/src
62-
tar xvf redis.tar.gz
63-
rm redis.tar.gz
69+
tar xvf redis-<version>.tar.gz
70+
rm redis-<version>.tar.gz
6471
```
6572

66-
## 4. Build Redis
73+
## 3. Build Redis
6774

6875
Set the appropriate environment variables to enable TLS, modules, and other build options, then compile and install Redis:
6976

7077
```bash
71-
cd /usr/src/redis
78+
cd /usr/src/redis-<version>
7279
export BUILD_TLS=yes
7380
export BUILD_WITH_MODULES=yes
7481
export INSTALL_RUST_TOOLCHAIN=yes
@@ -80,7 +87,7 @@ sudo make install
8087

8188
This builds the Redis server, CLI, and any included modules.
8289

83-
## 5. (Optional) Verify the installation
90+
## 4. (Optional) Verify the installation
8491

8592
You can confirm that Redis has been built and installed successfully by checking the version:
8693

@@ -89,7 +96,7 @@ redis-server --version
8996
redis-cli --version
9097
```
9198

92-
## 6. Start Redis
99+
## 5. Start Redis
93100

94101
To start Redis, use the following command:
95102

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

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,36 @@ tar -xf ${RUST_INSTALLER}.tar.xz
4444

4545
## 4. Download and extract the Redis source
4646

47-
The Redis source code is available from the [Download](https://redis.io/downloads) page. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes git repository](https://github.com/redis/redis-hashes).
47+
The Redis source code is available from [the Redis GitHub site](https://github.com/redis/redis/releases). Select the release you want to build and then select the .tar.gz file from the **Assets** drop down menu. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes GitHub repository](https://github.com/redis/redis-hashes).
48+
49+
Create a directory for the src, for example `~/src`.
50+
51+
```
52+
mkdir ~/src
53+
```
54+
55+
Copy the tar(1) file to `~/src`.
56+
57+
Alternatively, you can download the file directly using the `wget` command, as shown below.
58+
59+
```
60+
cd ~/src
61+
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
62+
```
63+
64+
Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.
4865

4966
Extract the source:
5067

5168
```bash
52-
tar xvf redis.tar.gz
69+
tar xvf redis-<version>.tar.gz
70+
rm redis-<version>.tar.gz
5371
```
5472

5573
## 5. Build Redis
5674

5775
```
76+
cd ~/src/redis-<version>
5877
export HOMEBREW_PREFIX="$(brew --prefix)"
5978
export BUILD_WITH_MODULES=yes
6079
export BUILD_TLS=yes

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

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,28 +69,35 @@ sudo ln -sf /usr/local/bin/cmake /usr/bin/cmake
6969
cmake --version
7070
```
7171

72-
## 4. Download the Redis source
72+
## 4. Download and extract the Redis source
7373

74-
The Redis source code is available from the [Download](https://redis.io/downloads) page. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes git repository](https://github.com/redis/redis-hashes).
74+
The Redis source code is available from [the Redis GitHub site](https://github.com/redis/redis/releases). Select the release you want to build and then select the .tar.gz file from the **Assets** drop down menu. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes GitHub repository](https://github.com/redis/redis-hashes).
7575

76-
Copy the tar(1) file to /usr/src.
76+
Copy the tar(1) file to `/usr/src`.
7777

78-
## 5. Extract the source archive
78+
Alternatively, you can download the file directly using the `wget` command, as shown below.
7979

80-
Create a directory for the source code and extract the contents into it:
80+
```
81+
cd /usr/src
82+
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
83+
```
84+
85+
Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.
86+
87+
Extract the source:
8188

8289
```bash
8390
cd /usr/src
84-
tar xvf redis.tar.gz
85-
rm redis.tar.gz
91+
tar xvf redis-<version>.tar.gz
92+
rm redis-<version>.tar.gz
8693
```
8794

88-
## 6. Build Redis
95+
## 5. Build Redis
8996

9097
Set the necessary environment variables and compile Redis:
9198

9299
```bash
93-
cd /usr/src/redis
100+
cd /usr/src/redis-<version>
94101
export BUILD_TLS=yes
95102
export BUILD_WITH_MODULES=yes
96103
export INSTALL_RUST_TOOLCHAIN=yes
@@ -100,7 +107,7 @@ make -j "$(nproc)" all
100107
sudo make install
101108
```
102109

103-
## 7. (Optional) Verify the installation
110+
## 6. (Optional) Verify the installation
104111

105112
Confirm the Redis installation:
106113

@@ -109,7 +116,7 @@ redis-server --version
109116
redis-cli --version
110117
```
111118

112-
## 8. Start Redis
119+
## 7. Start Redis
113120

114121
To start Redis, use the following command:
115122

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

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,35 @@ sudo apt-get install -y --no-install-recommends \
4646
libtool
4747
```
4848

49-
## 2. Download the Redis source code
49+
## 2. Download and extract the Redis source
5050

51-
The Redis source code is available from the [Download](https://redis.io/downloads) page. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes git repository](https://github.com/redis/redis-hashes).
51+
The Redis source code is available from [the Redis GitHub site](https://github.com/redis/redis/releases). Select the release you want to build and then select the .tar.gz file from the **Assets** drop down menu. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes GitHub repository](https://github.com/redis/redis-hashes).
5252

53-
Copy the tar(1) file to /usr/src.
53+
Copy the tar(1) file to `/usr/src`.
5454

55-
## 3. Extract the source archive
55+
Alternatively, you can download the file directly using the `wget` command, as shown below.
5656

57-
Create a directory for the source code and extract the contents into it:
57+
```
58+
cd /usr/src
59+
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
60+
```
61+
62+
Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.
63+
64+
Extract the source:
5865

5966
```bash
6067
cd /usr/src
61-
tar xvf redis.tar.gz
62-
rm redis.tar.gz
68+
tar xvf redis-<version>.tar.gz
69+
rm redis-<version>.tar.gz
6370
```
6471

65-
## 4. Build Redis
72+
## 3. Build Redis
6673

6774
Set the appropriate environment variables to enable TLS, modules, and other build options, then compile and install Redis:
6875

6976
```bash
70-
cd /usr/src/redis
77+
cd /usr/src/redis-<version>
7178
export BUILD_TLS=yes
7279
export BUILD_WITH_MODULES=yes
7380
export INSTALL_RUST_TOOLCHAIN=yes
@@ -79,7 +86,7 @@ sudo make install
7986

8087
This builds the Redis server, CLI, and any included modules.
8188

82-
## 5. (Optional) Verify the installation
89+
## 4. (Optional) Verify the installation
8390

8491
You can confirm that Redis has been built and installed successfully by checking the version:
8592

@@ -88,7 +95,7 @@ redis-server --version
8895
redis-cli --version
8996
```
9097

91-
## 6. Start Redis
98+
## 5. Start Redis
9299

93100
To start Redis, use the following command:
94101

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

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,35 @@ sudo apt-get install -y --no-install-recommends \
4646
libtool
4747
```
4848

49-
## 2. Download the Redis source code
49+
## 2. Download and extract the Redis source
5050

51-
The Redis source code is available from the [Download](https://redis.io/downloads) page. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes git repository](https://github.com/redis/redis-hashes).
51+
The Redis source code is available from [the Redis GitHub site](https://github.com/redis/redis/releases). Select the release you want to build and then select the .tar.gz file from the **Assets** drop down menu. You can verify the integrity of these downloads by checking them against the digests in the [redis-hashes GitHub repository](https://github.com/redis/redis-hashes).
5252

53-
Copy the tar(1) file to /usr/src.
53+
Copy the tar(1) file to `/usr/src`.
5454

55-
## 3. Extract the source archive
55+
Alternatively, you can download the file directly using the `wget` command, as shown below.
5656

57-
Create a directory for the source code and extract the contents into it:
57+
```
58+
cd /usr/src
59+
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
60+
```
61+
62+
Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.
63+
64+
Extract the source:
5865

5966
```bash
6067
cd /usr/src
61-
tar xvf redis.tar.gz
62-
rm redis.tar.gz
68+
tar xvf redis-<version>.tar.gz
69+
rm redis-<version>.tar.gz
6370
```
6471

65-
## 4. Build Redis
72+
## 3. Build Redis
6673

6774
Set the appropriate environment variables to enable TLS, modules, and other build options, then compile and install Redis:
6875

6976
```bash
70-
cd /usr/src/redis
77+
cd /usr/src/redis-<version>
7178
export BUILD_TLS=yes
7279
export BUILD_WITH_MODULES=yes
7380
export INSTALL_RUST_TOOLCHAIN=yes
@@ -79,7 +86,7 @@ sudo make install
7986

8087
This builds the Redis server, CLI, and any included modules.
8188

82-
## 5. (Optional) Verify the installation
89+
## 4. (Optional) Verify the installation
8390

8491
You can confirm that Redis has been built and installed successfully by checking the version:
8592

@@ -88,7 +95,7 @@ redis-server --version
8895
redis-cli --version
8996
```
9097

91-
## 6. Start Redis
98+
## 5. Start Redis
9299

93100
To start Redis, use the following command:
94101

0 commit comments

Comments
 (0)