如何在Windows上运行Redis ?Redis下载页面似乎提供了*nix选项。
我可以在Windows上本地运行Redis吗?
如何在Windows上运行Redis ?Redis下载页面似乎提供了*nix选项。
我可以在Windows上本地运行Redis吗?
当前回答
最新的Redis x86版本(32位)可以在这里找到: http://bitsandpieces.it/redis-x86-32bit-builds-for-windows
他说他会保持两个2.8。*和3.0。*分支。
其他回答
我不在windows上运行redis。与端口保持一致涉及太多的麻烦,并且它们总是落后于redis-stable一两个版本。
相反,我在为我运行redis的Vagrant虚拟机上运行redis。我把整个事情打包成一个简单的github repo,这样每个人都可以在没有太多麻烦的情况下获得乐趣。整个过程是自动构建的,所以不会出现混乱。我在这里写了详细的博客。
目前还没有windows版的Redis。(只有一些旧版本可用)
但是你可以使用WSL(Windows Subsystem for Linux)安装最新版本,参考以下来自Redis Labs的博客:
https://redislabs.com/blog/redis-on-windows-10
我正在使用Memurai,这是redis兼容的缓存和Windows的数据存储。微软开放技术也推荐它,因为它写在他们以前的项目这里。
这个项目不再被积极维护。如果你是 寻找Windows版本的Redis,你可能想看看 Memurai。请注意,微软并没有正式认可这一点 任何形式的产品。
摘自:http://avenshteinohad.blogspot.com/2016/01/redis-jedis-quickstart.html
如果您使用windows,请使用MSOpenTech版本: https://github.com/MSOpenTech/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