From b4420eb556f666c3fd79fe8f58600bd0f20904db Mon Sep 17 00:00:00 2001 From: "David W. Dougherty" Date: Wed, 2 Apr 2025 11:30:41 -0700 Subject: [PATCH 1/3] DEV: point to GitHub for source downloads --- .../install/build-stack/almalinux-rocky-8.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md b/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md index c5374ccf0..afb6857c0 100644 --- a/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md +++ b/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md @@ -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 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-.tar.gz https://github.com/redis/redis/archive/refs/tags/.tar.gz +``` + +Replace `` 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-.tar.gz +rm redis-.tar.gz ``` ## 5. Build Redis @@ -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- export BUILD_TLS=yes export BUILD_WITH_MODULES=yes From 5c6af1a9545597fb5b76d054b7777531c5de42bd Mon Sep 17 00:00:00 2001 From: "David W. Dougherty" Date: Wed, 2 Apr 2025 13:28:21 -0700 Subject: [PATCH 2/3] Adding the remaining pages --- .../install/build-stack/almalinux-rocky-8.md | 2 +- .../install/build-stack/almalinux-rocky-9.md | 17 ++++++++--- .../install/build-stack/debian-bookworm.md | 28 +++++++++++------- .../install/build-stack/debian-bullseye.md | 27 ++++++++++------- .../install/build-stack/macos-13-14.md | 23 +++++++++++++-- .../install/build-stack/ubuntu-focal.md | 29 ++++++++++++------- .../install/build-stack/ubuntu-jammy.md | 29 ++++++++++++------- .../install/build-stack/ubuntu-noble.md | 29 ++++++++++++------- 8 files changed, 124 insertions(+), 60 deletions(-) diff --git a/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md b/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md index afb6857c0..9d99ec957 100644 --- a/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md +++ b/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md @@ -122,7 +122,7 @@ cmake --version ## 4. Download and extract the Redis source -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). +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`. diff --git a/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-9.md b/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-9.md index 2f4dc1576..fc9a24cf5 100644 --- a/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-9.md +++ b/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-9.md @@ -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-.tar.gz https://github.com/redis/redis/archive/refs/tags/.tar.gz +``` + +Replace `` 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-.tar.gz +rm redis-.tar.gz ``` ## 5. Build Redis @@ -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- export BUILD_TLS=yes export BUILD_WITH_MODULES=yes diff --git a/content/operate/oss_and_stack/install/build-stack/debian-bookworm.md b/content/operate/oss_and_stack/install/build-stack/debian-bookworm.md index f2749b2d0..166cb58f6 100644 --- a/content/operate/oss_and_stack/install/build-stack/debian-bookworm.md +++ b/content/operate/oss_and_stack/install/build-stack/debian-bookworm.md @@ -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-.tar.gz https://github.com/redis/redis/archive/refs/tags/.tar.gz +``` + +Replace `` 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-.tar.gz +rm redis-.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- export BUILD_TLS=yes export BUILD_WITH_MODULES=yes export INSTALL_RUST_TOOLCHAIN=yes @@ -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: @@ -89,7 +97,7 @@ redis-server --version redis-cli --version ``` -## 6. Start Redis +## 5. Start Redis To start Redis, use the following command: diff --git a/content/operate/oss_and_stack/install/build-stack/debian-bullseye.md b/content/operate/oss_and_stack/install/build-stack/debian-bullseye.md index 90d3323fd..c83d12af7 100644 --- a/content/operate/oss_and_stack/install/build-stack/debian-bullseye.md +++ b/content/operate/oss_and_stack/install/build-stack/debian-bullseye.md @@ -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-.tar.gz https://github.com/redis/redis/archive/refs/tags/.tar.gz +``` + +Replace `` 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-.tar.gz +rm redis-.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- export BUILD_TLS=yes export BUILD_WITH_MODULES=yes export INSTALL_RUST_TOOLCHAIN=yes @@ -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: @@ -89,7 +96,7 @@ redis-server --version redis-cli --version ``` -## 6. Start Redis +## 5. Start Redis To start Redis, use the following command: diff --git a/content/operate/oss_and_stack/install/build-stack/macos-13-14.md b/content/operate/oss_and_stack/install/build-stack/macos-13-14.md index c9877b4af..b9df54c9b 100644 --- a/content/operate/oss_and_stack/install/build-stack/macos-13-14.md +++ b/content/operate/oss_and_stack/install/build-stack/macos-13-14.md @@ -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-.tar.gz https://github.com/redis/redis/archive/refs/tags/.tar.gz +``` + +Replace `` with the three-digit Redis release number, for example `8.0.0`. Extract the source: ```bash -tar xvf redis.tar.gz +tar xvf redis-.tar.gz +rm redis-.tar.gz ``` ## 5. Build Redis ``` +cd ~/src/redis- export HOMEBREW_PREFIX="$(brew --prefix)" export BUILD_WITH_MODULES=yes export BUILD_TLS=yes diff --git a/content/operate/oss_and_stack/install/build-stack/ubuntu-focal.md b/content/operate/oss_and_stack/install/build-stack/ubuntu-focal.md index 838a6f792..c0829957b 100644 --- a/content/operate/oss_and_stack/install/build-stack/ubuntu-focal.md +++ b/content/operate/oss_and_stack/install/build-stack/ubuntu-focal.md @@ -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-.tar.gz https://github.com/redis/redis/archive/refs/tags/.tar.gz +``` + +Replace `` 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-.tar.gz +rm redis-.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- export BUILD_TLS=yes export BUILD_WITH_MODULES=yes export INSTALL_RUST_TOOLCHAIN=yes @@ -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: @@ -109,7 +116,7 @@ redis-server --version redis-cli --version ``` -## 8. Start Redis +## 7. Start Redis To start Redis, use the following command: diff --git a/content/operate/oss_and_stack/install/build-stack/ubuntu-jammy.md b/content/operate/oss_and_stack/install/build-stack/ubuntu-jammy.md index 842a4957b..4f401301a 100644 --- a/content/operate/oss_and_stack/install/build-stack/ubuntu-jammy.md +++ b/content/operate/oss_and_stack/install/build-stack/ubuntu-jammy.md @@ -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-.tar.gz https://github.com/redis/redis/archive/refs/tags/.tar.gz +``` + +Replace `` 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-.tar.gz +rm redis-.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- export BUILD_TLS=yes export BUILD_WITH_MODULES=yes export INSTALL_RUST_TOOLCHAIN=yes @@ -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: @@ -88,7 +95,7 @@ redis-server --version redis-cli --version ``` -## 6. Start Redis +## 5. Start Redis To start Redis, use the following command: diff --git a/content/operate/oss_and_stack/install/build-stack/ubuntu-noble.md b/content/operate/oss_and_stack/install/build-stack/ubuntu-noble.md index 1617f2b67..9f769932a 100644 --- a/content/operate/oss_and_stack/install/build-stack/ubuntu-noble.md +++ b/content/operate/oss_and_stack/install/build-stack/ubuntu-noble.md @@ -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-.tar.gz https://github.com/redis/redis/archive/refs/tags/.tar.gz +``` + +Replace `` 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-.tar.gz +rm redis-.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- export BUILD_TLS=yes export BUILD_WITH_MODULES=yes export INSTALL_RUST_TOOLCHAIN=yes @@ -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: @@ -88,7 +95,7 @@ redis-server --version redis-cli --version ``` -## 6. Start Redis +## 5. Start Redis To start Redis, use the following command: From be8b1528871a538fa2ca2e5f1de7aabe3736f72a Mon Sep 17 00:00:00 2001 From: "David W. Dougherty" Date: Thu, 3 Apr 2025 07:43:02 -0700 Subject: [PATCH 3/3] Finalize the build instructions --- .../install/build-stack/almalinux-rocky-8.md | 20 ++++++++++++------- .../install/build-stack/almalinux-rocky-9.md | 20 ++++++++++++------- .../install/build-stack/debian-bookworm.md | 20 ++++++++++++------- .../install/build-stack/debian-bullseye.md | 20 ++++++++++++------- .../install/build-stack/macos-13-14.md | 8 ++++---- .../install/build-stack/macos-15.md | 4 ++-- .../install/build-stack/ubuntu-focal.md | 20 ++++++++++++------- .../install/build-stack/ubuntu-jammy.md | 20 ++++++++++++------- .../install/build-stack/ubuntu-noble.md | 20 ++++++++++++------- 9 files changed, 97 insertions(+), 55 deletions(-) diff --git a/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md b/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md index 9d99ec957..04d29d2dd 100644 --- a/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md +++ b/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-8.md @@ -5,11 +5,11 @@ categories: - stack - oss linkTitle: AlmaLinux/Rocky 8.10 -title: Build and run Redis Open Source on AlmaLinux/Rocky Linux 8.10 +title: Build and run Redis Community Edition 8 on AlmaLinux/Rocky Linux 8.10 weight: 5 --- -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. +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. {{< note >}} Docker images used to produce these build notes: @@ -157,7 +157,6 @@ export INSTALL_RUST_TOOLCHAIN=yes export DISABLE_WERRORS=yes make -j "$(nproc)" all -sudo make install ``` ## 6. (Optional) Verify the installation @@ -165,8 +164,8 @@ sudo make install Check the installed Redis server and CLI versions: ```bash -redis-server --version -redis-cli --version +./src/redis-server --version +./src/redis-cli --version ``` ## 7. Start Redis @@ -174,13 +173,13 @@ redis-cli --version To start Redis, use the following command: ```bash -redis-server /path/to/redis.conf +./src/redis-server redis-full.conf ``` To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following: ``` -redis-cli INFO +./src/redis-cli INFO ... # Modules 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=[] module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[] ... ``` + +## 8. (Optional) Install Redis to its default location + +``` +cd /usr/src/redis- +sudo make install +``` \ No newline at end of file diff --git a/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-9.md b/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-9.md index fc9a24cf5..f75aaab64 100644 --- a/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-9.md +++ b/content/operate/oss_and_stack/install/build-stack/almalinux-rocky-9.md @@ -5,11 +5,11 @@ categories: - stack - oss linkTitle: AlmaLinux/Rocky 9.5 -title: Build and run Redis Open Source on AlmaLinux/Rocky Linux 9.5 +title: Build and run Redis Community Edition 8 on AlmaLinux/Rocky Linux 9.5 weight: 10 --- -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. +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. {{< note >}} Docker images used to produce these build notes: @@ -155,7 +155,6 @@ export INSTALL_RUST_TOOLCHAIN=yes export DISABLE_WERRORS=yes make -j "$(nproc)" all -sudo make install ``` ## 6. (Optional) Verify the installation @@ -163,8 +162,8 @@ sudo make install Check that Redis was installed successfully: ```bash -redis-server --version -redis-cli --version +./src/redis-server --version +./src/redis-cli --version ``` ## 7. Start Redis @@ -172,13 +171,13 @@ redis-cli --version To start Redis, use the following command: ```bash -redis-server /path/to/redis.conf +./src/redis-server redis-full.conf ``` To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following: ``` -redis-cli INFO +./src/redis-cli INFO ... # Modules 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=[] module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[] ... ``` + +## 8. (Optional) Install Redis to its default location + +``` +cd /usr/src/redis- +sudo make install +``` \ No newline at end of file diff --git a/content/operate/oss_and_stack/install/build-stack/debian-bookworm.md b/content/operate/oss_and_stack/install/build-stack/debian-bookworm.md index 166cb58f6..fbd8b48c9 100644 --- a/content/operate/oss_and_stack/install/build-stack/debian-bookworm.md +++ b/content/operate/oss_and_stack/install/build-stack/debian-bookworm.md @@ -5,11 +5,11 @@ categories: - stack - oss linkTitle: Debian 12 (Bookworm) -title: Build and run Redis Open Source on Debian 12 (Bookworm) +title: Build and run Redis Community Edition 8 on Debian 12 (Bookworm) weight: 15 --- -Follow the steps below to build and run Redis Open Source from its source code on a system running Debian 12 (Bookworm). +Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running Debian 12 (Bookworm). {{< note >}} Docker images used to produce these build notes: @@ -83,7 +83,6 @@ export INSTALL_RUST_TOOLCHAIN=yes export DISABLE_WERRORS=yes make -j "$(nproc)" all -sudo make install ``` This builds the Redis server, CLI, and any included modules. @@ -93,8 +92,8 @@ This builds the Redis server, CLI, and any included modules. You can confirm that Redis has been built and installed successfully by checking the version: ```bash -redis-server --version -redis-cli --version +./src/redis-server --version +./src/redis-cli --version ``` ## 5. Start Redis @@ -102,13 +101,13 @@ redis-cli --version To start Redis, use the following command: ```bash -redis-server /path/to/redis.conf +./src/redis-server redis-full.conf ``` To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following: ``` -redis-cli INFO +./src/redis-cli INFO ... # Modules 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=[] module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[] ... ``` + +## 6. (Optional) Install Redis to its default location + +``` +cd /usr/src/redis-version +sudo make install +``` \ No newline at end of file diff --git a/content/operate/oss_and_stack/install/build-stack/debian-bullseye.md b/content/operate/oss_and_stack/install/build-stack/debian-bullseye.md index c83d12af7..775df5615 100644 --- a/content/operate/oss_and_stack/install/build-stack/debian-bullseye.md +++ b/content/operate/oss_and_stack/install/build-stack/debian-bullseye.md @@ -5,11 +5,11 @@ categories: - stack - oss linkTitle: Debian 11 (Bullseye) -title: Build and run Redis Open Source on Debian 11 (Bullseye) +title: Build and run Redis Community Edition 8 on Debian 11 (Bullseye) weight: 20 --- -Follow the steps below to build and run Redis Open Source from its source code on a system running Debian 11 (Bullseye). +Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running Debian 11 (Bullseye). {{< note >}} Docker images used to produce these build notes: @@ -82,7 +82,6 @@ export INSTALL_RUST_TOOLCHAIN=yes export DISABLE_WERRORS=yes make -j "$(nproc)" all -sudo make install ``` This builds the Redis server, CLI, and any included modules. @@ -92,8 +91,8 @@ This builds the Redis server, CLI, and any included modules. You can confirm that Redis has been built and installed successfully by checking the version: ```bash -redis-server --version -redis-cli --version +./src/redis-server --version +./src/redis-cli --version ``` ## 5. Start Redis @@ -101,13 +100,13 @@ redis-cli --version To start Redis, use the following command: ```bash -redis-server /path/to/redis.conf +./src/redis-server redis-full.conf ``` To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following: ``` -redis-cli INFO +./src/redis-cli INFO ... # Modules 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=[] module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[] ... ``` + +## 6. (Optional) Install Redis to its default location + +``` +cd /usr/src/redis- +sudo make install +``` \ No newline at end of file diff --git a/content/operate/oss_and_stack/install/build-stack/macos-13-14.md b/content/operate/oss_and_stack/install/build-stack/macos-13-14.md index b9df54c9b..0c6ca0b18 100644 --- a/content/operate/oss_and_stack/install/build-stack/macos-13-14.md +++ b/content/operate/oss_and_stack/install/build-stack/macos-13-14.md @@ -5,11 +5,11 @@ categories: - stack - oss linkTitle: macOS 13 / macOS 14 -title: Build and run Redis Open Source on macOS 13 (Ventura) and macOS 14 (Sonoma) +title: Build and run Redis Community Edition 8 on macOS 13 (Ventura) and macOS 14 (Sonoma) weight: 50 --- -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). +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). ## 1. Install homebrew @@ -103,13 +103,13 @@ To start Redis, use the following command: ```bash export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 -build_dir/bin/redis-server /path/to/redis.conf +build_dir/bin/redis-server redis-full.conf ``` To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following: ``` -redis-cli INFO +build_dir/bin/redis-cli INFO ... # Modules module:name=ReJSON,ver=20803,api=1,filters=0,usedby=[search],using=[],options=[handle-io-errors] diff --git a/content/operate/oss_and_stack/install/build-stack/macos-15.md b/content/operate/oss_and_stack/install/build-stack/macos-15.md index 537e55659..e7dca1071 100644 --- a/content/operate/oss_and_stack/install/build-stack/macos-15.md +++ b/content/operate/oss_and_stack/install/build-stack/macos-15.md @@ -5,10 +5,10 @@ categories: - stack - oss linkTitle: macOS 15 (Sequoia) -title: Build and run Redis Open Source on macOS 15 (Sequoia) +title: Build and run Redis Community Edition 8 on macOS 15 (Sequoia) weight: 40 --- -Follow the steps below to build and run Redis Open Source from its source code on a system running macOS 15 (Sequoia). +Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running macOS 15 (Sequoia). To be provided at a later date. \ No newline at end of file diff --git a/content/operate/oss_and_stack/install/build-stack/ubuntu-focal.md b/content/operate/oss_and_stack/install/build-stack/ubuntu-focal.md index c0829957b..cffb212a3 100644 --- a/content/operate/oss_and_stack/install/build-stack/ubuntu-focal.md +++ b/content/operate/oss_and_stack/install/build-stack/ubuntu-focal.md @@ -5,11 +5,11 @@ categories: - stack - oss linkTitle: Ubuntu 20.04 (Focal) -title: Build and run Redis Open Source on Ubuntu 20.04 (Focal) +title: Build and run Redis Community Edition 8 on Ubuntu 20.04 (Focal) weight: 25 --- -Follow the steps below to build and run Redis Open Source from its source code on a system running Ubuntu 20.04 (Focal). +Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running Ubuntu 20.04 (Focal). {{< note >}} Docker images used to produce these build notes: @@ -104,7 +104,6 @@ export INSTALL_RUST_TOOLCHAIN=yes export DISABLE_WERRORS=yes make -j "$(nproc)" all -sudo make install ``` ## 6. (Optional) Verify the installation @@ -112,8 +111,8 @@ sudo make install Confirm the Redis installation: ```bash -redis-server --version -redis-cli --version +./src/redis-server --version +./src/redis-cli --version ``` ## 7. Start Redis @@ -121,13 +120,13 @@ redis-cli --version To start Redis, use the following command: ```bash -redis-server /path/to/redis.conf +./src/redis-server redis-full.conf ``` To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following: ``` -redis-cli INFO +./src/redis-cli INFO ... # Modules 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=[] module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[] ... ``` + +## 8. (Optional) Install Redis to its default location + +``` +cd /usr/src/redis- +sudo make install +``` \ No newline at end of file diff --git a/content/operate/oss_and_stack/install/build-stack/ubuntu-jammy.md b/content/operate/oss_and_stack/install/build-stack/ubuntu-jammy.md index 4f401301a..a668f58b9 100644 --- a/content/operate/oss_and_stack/install/build-stack/ubuntu-jammy.md +++ b/content/operate/oss_and_stack/install/build-stack/ubuntu-jammy.md @@ -5,11 +5,11 @@ categories: - stack - oss linkTitle: Ubuntu 22.04 (Jammy) -title: Build and run Redis Open Source on Ubuntu 22.04 (Jammy) +title: Build and run Redis Community Edition 8 on Ubuntu 22.04 (Jammy) weight: 30 --- -Follow the steps below to build and run Redis Open Source from its source code on a system running Ubuntu 22.04 (Jammy). +Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running Ubuntu 22.04 (Jammy). {{< note >}} Docker images used to produce these build notes: @@ -81,7 +81,6 @@ export INSTALL_RUST_TOOLCHAIN=yes export DISABLE_WERRORS=yes make -j "$(nproc)" all -sudo make install ``` This builds the Redis server, CLI, and any included modules. @@ -91,8 +90,8 @@ This builds the Redis server, CLI, and any included modules. You can confirm that Redis has been built and installed successfully by checking the version: ```bash -redis-server --version -redis-cli --version +./src/redis-server --version +./src/redis-cli --version ``` ## 5. Start Redis @@ -100,13 +99,13 @@ redis-cli --version To start Redis, use the following command: ```bash -redis-server /path/to/redis.conf +./src/redis-server redis-full.conf ``` To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following: ``` -redis-cli INFO +./src/redis-cli INFO ... # Modules module:name=ReJSON,ver=20803,api=1,filters=0,usedby=[search],using=[],options=[handle-io-errors] @@ -117,3 +116,10 @@ module:name=RedisCompat,ver=1,api=1,filters=0,usedby=[],using=[],options=[] module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[] ... ``` + +## 6. (Optional) Install Redis to its default location + +``` +cd /usr/src/redis- +sudo make install +``` diff --git a/content/operate/oss_and_stack/install/build-stack/ubuntu-noble.md b/content/operate/oss_and_stack/install/build-stack/ubuntu-noble.md index 9f769932a..69ba1facd 100644 --- a/content/operate/oss_and_stack/install/build-stack/ubuntu-noble.md +++ b/content/operate/oss_and_stack/install/build-stack/ubuntu-noble.md @@ -5,11 +5,11 @@ categories: - stack - oss linkTitle: Ubuntu 24.04 (Noble) -title: Build and run Redis Open Source on Ubuntu 24.04 (Noble) +title: Build and run Redis Community Edition 8 on Ubuntu 24.04 (Noble) weight: 35 --- -Follow the steps below to build and run Redis Open Source from its source code on a system running Ubuntu 24.04 (Noble). +Follow the steps below to build and run Redis Community Edition 8 from its source code on a system running Ubuntu 24.04 (Noble). {{< note >}} Docker images used to produce these build notes: @@ -81,7 +81,6 @@ export INSTALL_RUST_TOOLCHAIN=yes export DISABLE_WERRORS=yes make -j "$(nproc)" all -sudo make install ``` This builds the Redis server, CLI, and any included modules. @@ -91,8 +90,8 @@ This builds the Redis server, CLI, and any included modules. You can confirm that Redis has been built and installed successfully by checking the version: ```bash -redis-server --version -redis-cli --version +./src/redis-server --version +./src/redis-cli --version ``` ## 5. Start Redis @@ -100,13 +99,13 @@ redis-cli --version To start Redis, use the following command: ```bash -redis-server /path/to/redis.conf +./src/redis-server redis-full.conf ``` To validate that the available modules have been installed, run the [`INFO`]{{< relref "/commands/info" >}} command and look for lines similar to the following: ``` -redis-cli INFO +./src/redis-cli INFO ... # Modules module:name=ReJSON,ver=20803,api=1,filters=0,usedby=[search],using=[],options=[handle-io-errors] @@ -117,3 +116,10 @@ module:name=RedisCompat,ver=1,api=1,filters=0,usedby=[],using=[],options=[] module:name=vectorset,ver=1,api=1,filters=0,usedby=[],using=[],options=[] ... ``` + +## 6. (Optional) Install Redis to its default location + +``` +cd /usr/src/redis- +sudo make install +``` \ No newline at end of file