1、下载地址 Download | RedisRedisYou can download the last Redis source files here. For additional options, see the Redis downloads section below.Stable (7.2)Redis 7.2 …https://redis.io/download/#redis-downloads
2、安装
2.1 解压下载后的压缩文件
2.2 进入src文件夹编译redis
执行命令:
sudo make
2.3 编译test
sudo make test
2.4 大功告成,启动 redis
./src/redis-server