• 首页
  • 产品中心
    • 数式Oinone四大产品

      低代码开发平台无代码开发平台集成开发平台AI大模型开发
    • 数式Oinone体系能力

      用户与组织权限管理文件管理消息中心国际化业务审计
    • 数式Oinone核心产品特性

      低无一体面向软件公司场景无限制应用级扩容可分可合
  • 服务中心
    • 客户服务

      预约演示方案咨询私有部署找人定制
    • 开发者

      问答下载
    • Oinone学院

      社区学习

    《精讲面向软件公司的低代码平台——以Oinone为例》

  • 合作伙伴
    渠道申请伙伴名录专家库
  • 关于数式
0571-88757863

Redis Setup


Ⅰ、Download Installation Package

Installation package download address

Download Link
Linuxhttps://github.com/redis/redis/archive/refs/tags/.tar.gz
macOShttps://github.com/redis/redis/archive/refs/tags/.tar.gz
Windowshttps://github.com/tporadowski/redis/releases

Tip

There is no official version of Redis for Windows systems, and the provided download link is a community-maintained unofficial version.
For Linux and macOS users, replace <version> in the link with the actual version number when downloading. Taking 7.4.2 as an example, the download link is:
https://github.com/redis/redis/archive/refs/tags/7.4.2.tar.gz

Ⅱ、Installation

(Ⅰ)Linux/macOS Installation

1、Download

curl -L https://github.com/redis/redis/archive/refs/tags/7.4.2.tar.gz -o redis-7.4.2.tar.gz

2、Unzip

tar zxvf redis-7.4.2.tar.gz -C ./

3、Compile and Install

# Compile
export REDIS_HOME=<replace with Redis installation directory>
make PREFIX=${REDIS_HOME}
# Install
make PREFIX=${REDIS_HOME} install

4、Verification

Enter in the command line

${REDIS_HOME}/bin/redis-server --version

Output similar information indicates successful installation

Redis server v=7.4.2 sha=00000000:1 malloc=libc bits=64 build=2e82a5cbb28cb878

(Ⅱ)Windows Installation

1、Download

Invoke-WebRequest -Uri "https://github.com/tporadowski/redis/releases/download/v5.0.14.1/Redis-x64-5.0.14.1.zip" -OutFile "Redis-x64-5.0.14.1.zip"

2、Unzip

Use a visualization tool or the following command to unzip

# Windows
Expand-Archive Redis-x64-5.0.14.1.zip <Redis installation directory>\redis

(Ⅲ)Configuration

Reference configuration for Linux/macOS installation (Windows version can be ignored)

# redis.conf
bind * -::*
port 6379
timeout 0
logfile "redis_log.log"
dbfilename dump.rdb
appendonly no
appendfilename "appendonly.aof"

(Ⅳ)Run

1、Start

# Linux/macOS
nohup ./bin/redis-server redis.conf >> redis.nohup 2>&1 &
# Windows
Start-Process -FilePath ".\redis-server.exe" -WindowStyle Hidden

2、Stop

# Linux/macOS
./bin/redis-cli -p 6379 shutdown
# Windows
.\redis-cli.exe -p 6379 shutdown
Edit this page
Last Updated:1/15/26, 4:02 AM
Prev
Node.js Setup
Next
Git Setup
默认页脚
Copyright © 2026 Mr.Hope