Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,25 @@ cmake --version

## 4. Download and extract the Redis source

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).
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).

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

Alternatively, you can download the file directly using the `wget` command, as shown below.

```
cd /usr/src
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
```

Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.

Extract the source:

```bash
cd /usr/src
tar xvf redis.tar.gz
rm redis.tar.gz
tar xvf redis-<version>.tar.gz
rm redis-<version>.tar.gz
```

## 5. Build Redis
Expand All @@ -140,7 +149,7 @@ Enable the GCC toolset and build Redis with support for TLS and modules:

```bash
source /etc/profile.d/gcc-toolset-13.sh
cd /usr/src/redis
cd /usr/src/redis-<version>

export BUILD_TLS=yes
export BUILD_WITH_MODULES=yes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,25 @@ cmake --version

## 4. Download and extract the Redis source

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).
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).

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

Alternatively, you can download the file directly using the `wget` command, as shown below.

```
cd /usr/src
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
```

Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.

Extract the source:

```bash
cd /usr/src
tar xvf redis.tar.gz
rm redis.tar.gz
tar xvf redis-<version>.tar.gz
rm redis-<version>.tar.gz
```

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

```bash
source /etc/profile.d/gcc-toolset-13.sh
cd /usr/src/redis
cd /usr/src/redis-<version>

export BUILD_TLS=yes
export BUILD_WITH_MODULES=yes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,28 +47,36 @@ sudo apt-get install -y --no-install-recommends \
libtool
```

## 2. Download the Redis source code
## 2. Download and extract the Redis source

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).
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).

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

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

Create a directory for the source code and extract the contents into it:
```
cd /usr/src
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
```

Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.

Extract the source:

```bash
cd /usr/src
tar xvf redis.tar.gz
rm redis.tar.gz
tar xvf redis-<version>.tar.gz
rm redis-<version>.tar.gz
```

## 4. Build Redis

## 3. Build Redis

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

```bash
cd /usr/src/redis
cd /usr/src/redis-<version>
export BUILD_TLS=yes
export BUILD_WITH_MODULES=yes
export INSTALL_RUST_TOOLCHAIN=yes
Expand All @@ -80,7 +88,7 @@ sudo make install

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

## 5. (Optional) Verify the installation
## 4. (Optional) Verify the installation

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

Expand All @@ -89,7 +97,7 @@ redis-server --version
redis-cli --version
```

## 6. Start Redis
## 5. Start Redis

To start Redis, use the following command:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,28 +47,35 @@ sudo apt-get install -y --no-install-recommends \
libtool
```

## 2. Download the Redis source code
## 2. Download and extract the Redis source

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).
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).

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

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

Create a directory for the source code and extract the contents into it:
```
cd /usr/src
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
```

Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.

Extract the source:

```bash
cd /usr/src
tar xvf redis.tar.gz
rm redis.tar.gz
tar xvf redis-<version>.tar.gz
rm redis-<version>.tar.gz
```

## 4. Build Redis
## 3. Build Redis

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

```bash
cd /usr/src/redis
cd /usr/src/redis-<version>
export BUILD_TLS=yes
export BUILD_WITH_MODULES=yes
export INSTALL_RUST_TOOLCHAIN=yes
Expand All @@ -80,7 +87,7 @@ sudo make install

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

## 5. (Optional) Verify the installation
## 4. (Optional) Verify the installation

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

Expand All @@ -89,7 +96,7 @@ redis-server --version
redis-cli --version
```

## 6. Start Redis
## 5. Start Redis

To start Redis, use the following command:

Expand Down
23 changes: 21 additions & 2 deletions content/operate/oss_and_stack/install/build-stack/macos-13-14.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,36 @@ tar -xf ${RUST_INSTALLER}.tar.xz

## 4. Download and extract the Redis source

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).
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).

Create a directory for the src, for example `~/src`.

```
mkdir ~/src
```

Copy the tar(1) file to `~/src`.

Alternatively, you can download the file directly using the `wget` command, as shown below.

```
cd ~/src
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
```

Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.

Extract the source:

```bash
tar xvf redis.tar.gz
tar xvf redis-<version>.tar.gz
rm redis-<version>.tar.gz
```

## 5. Build Redis

```
cd ~/src/redis-<version>
export HOMEBREW_PREFIX="$(brew --prefix)"
export BUILD_WITH_MODULES=yes
export BUILD_TLS=yes
Expand Down
29 changes: 18 additions & 11 deletions content/operate/oss_and_stack/install/build-stack/ubuntu-focal.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,28 +69,35 @@ sudo ln -sf /usr/local/bin/cmake /usr/bin/cmake
cmake --version
```

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

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).
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).

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

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

Create a directory for the source code and extract the contents into it:
```
cd /usr/src
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
```

Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.

Extract the source:

```bash
cd /usr/src
tar xvf redis.tar.gz
rm redis.tar.gz
tar xvf redis-<version>.tar.gz
rm redis-<version>.tar.gz
```

## 6. Build Redis
## 5. Build Redis

Set the necessary environment variables and compile Redis:

```bash
cd /usr/src/redis
cd /usr/src/redis-<version>
export BUILD_TLS=yes
export BUILD_WITH_MODULES=yes
export INSTALL_RUST_TOOLCHAIN=yes
Expand All @@ -100,7 +107,7 @@ make -j "$(nproc)" all
sudo make install
```

## 7. (Optional) Verify the installation
## 6. (Optional) Verify the installation

Confirm the Redis installation:

Expand All @@ -109,7 +116,7 @@ redis-server --version
redis-cli --version
```

## 8. Start Redis
## 7. Start Redis

To start Redis, use the following command:

Expand Down
29 changes: 18 additions & 11 deletions content/operate/oss_and_stack/install/build-stack/ubuntu-jammy.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,35 @@ sudo apt-get install -y --no-install-recommends \
libtool
```

## 2. Download the Redis source code
## 2. Download and extract the Redis source

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).
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).

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

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

Create a directory for the source code and extract the contents into it:
```
cd /usr/src
wget -O redis-<version>.tar.gz https://github.com/redis/redis/archive/refs/tags/<version>.tar.gz
```

Replace `<version>` with the three-digit Redis release number, for example `8.0.0`.

Extract the source:

```bash
cd /usr/src
tar xvf redis.tar.gz
rm redis.tar.gz
tar xvf redis-<version>.tar.gz
rm redis-<version>.tar.gz
```

## 4. Build Redis
## 3. Build Redis

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

```bash
cd /usr/src/redis
cd /usr/src/redis-<version>
export BUILD_TLS=yes
export BUILD_WITH_MODULES=yes
export INSTALL_RUST_TOOLCHAIN=yes
Expand All @@ -79,7 +86,7 @@ sudo make install

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

## 5. (Optional) Verify the installation
## 4. (Optional) Verify the installation

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

Expand All @@ -88,7 +95,7 @@ redis-server --version
redis-cli --version
```

## 6. Start Redis
## 5. Start Redis

To start Redis, use the following command:

Expand Down
Loading