如何在Windows上运行Redis ?Redis下载页面似乎提供了*nix选项。

我可以在Windows上本地运行Redis吗?


当前回答

由于mopentech的Redis端口不再维护-任何对Redis Windows本机端口感兴趣的人现在可以从这里获得4.0.14和5.0.10版本:https://github.com/tporadowski/redis/releases。 这个分叉是MSOpenTech的最新3.2.100版本和antirez/redis的4.0.14/5.0.10版本的合并,并修复了一些错误。

其他回答

似乎这是获得最新版本的Redis最简单的方法-使用NuGet管理器:

1)打开NuGet设置页面,下载命令行实用程序 (nuget.exe命令行工具的最新版本始终可从https://nuget.org/nuget.exe获得)

2)将此文件复制到某个地方(例如C:\Downloads)

3)以管理员身份启动命令提示符并执行以下命令:

cd C:\Downloads
nuget.exe install redis-64

4)在下载文件夹将是最新版本的Redis (C:\Downloads\Redis-64.2.8.19在我的情况下)

5)运行redis-server.exe并开始工作

附注:下载的redis for windows包含一个非常旧的redis版本:2.4.6

You can use Memurai for Windows, a Redis-compatible cache and datastore for Windows, currently compatible with Redis 5. Memurai aims to fulfill the need for a supported Redis-compatible datastore on the Windows platform. At its core, it’s based on Redis source code, ported to run natively on Windows, and it’s designed to provide the level of reliability and performance required for production environments. Memurai is free for development and testing. You can learn more and download Memurai at https://www.memurai.com.

亚历克西斯Campailla CEO, Memurai

我在https://github.com/mythz/redis-windows上提供了在windows上运行Redis的2种最流行的安装说明和下载,展示了如何:

使用Vagrant运行最新的稳定版本的Redis VirtualBox虚拟机。 下载并运行微软Redis的原生Windows移植

由于mopentech的Redis端口不再维护-任何对Redis Windows本机端口感兴趣的人现在可以从这里获得4.0.14和5.0.10版本:https://github.com/tporadowski/redis/releases。 这个分叉是MSOpenTech的最新3.2.100版本和antirez/redis的4.0.14/5.0.10版本的合并,并修复了一些错误。

最新的Redis x86版本(32位)可以在这里找到: http://bitsandpieces.it/redis-x86-32bit-builds-for-windows

他说他会保持两个2.8。*和3.0。*分支。