Windows安装Redis

1.在页面 https://github.com/dmajkic/redis/downloads 下载 最新版本的redis 64位系统的预编译Redis

下载并解压到指定目录,

双击 redis-server,即可启动redis-server

双击redis-cli,并测试如下:

此外,可以从https://github.com/ServiceStack/redis-windows/tree/master/downloads 下载

(使用命令git clone https://github.com/ServiceStack/redis-windows.git)可以得到此时最新的3.0.503 版本

还可以从 https://github.com/MicrosoftArchive/redis/releases 下载最新的 Redis 3.2.100 版本。

为了在Python 中连接Redis,需要安装Python语言的Redis客户端,以及可选的作为加速器的hiredis.

在Python 环境中连接Redis并测试如下,则Python中可以正常连接 Redis

原文地址:https://www.cnblogs.com/luffystory/p/10325145.html