Oinone
Product
Oinone
Oinone Framework
100% Metadata-Driven Enterprise Low-Code Framework
Aino
Aino
AI Innovation, Now I Know — Enterprise AI Agent Platform
Use CasesPricingCommunity
Resources
📖
Documentation
Developer docs & API reference
💬
Support
Technical support
📄
Changelog
Product release notes
🏡
About
About Us
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