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

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


当前回答

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

其他回答

Redis项目并不正式支持Windows。但是,微软开放技术小组开发并维护了这个针对Win64的Windows端口。

http://redis.io/download

使用Windows 10?

https://learn.microsoft.com/en-us/windows/wsl/install-win10

/ etc /贴切器列表。

(Debian 10 Buster/Bullseye)
Installs latest stable Redis (5.0.6 at time of posting)

deb https://deb.debian.org/debian bullseye main
deb https://deb.debian.org/debian bullseye-updates main
deb http://security.debian.org/debian-security/ buster/updates main
deb http://ftp.debian.org/debian bullseye-backports main
apt install redis-server

you can install Redis by following this article: https://github.com/ServiceStack/redis-windows but for going straight, you can download it by this link: https://github.com/ServiceStack/redis-windows/raw/master/downloads/redis-latest.zip after downloading, go to the directory which you like to put your files,then extract the zip file, then open a command prompt and go to the directory where you extracted your file, then type "redis-server" and hit enter(for opening redis-cli open command and route to redis directory, but instead of "redis-server" execute "redis-cli").

在这里可以找到最新的Redis版本(后面只有几个小版本)。这个存储库为您提供了3.2.100版本(当前是3.2),而投票最多的答案只提供了2.4.6版本,最后一次更新是在2年前。

安装很简单:只需将存档中的所有内容复制到任何文件夹中,然后运行redis-server.exe来运行服务器,再运行redis-cli.exe通过shell连接到该服务器。

MS Open Tech最近在Github上提供了一个Redis版本供下载。他们说它还没有准备好生产,但请密切关注。

Github回购

下载发行版为MSIs