How do I run Redis on Windows?
How do I run Redis on Windows? The Redis download page just seems to offer *nix options.
Can I run Redis natively on Windows?
One click Redis install as a Windows service:
https://github.com/rgl/redis/downloads
Download and run the top .exe (ignore the "download as zip" button)
Edit: For the latest versions of Redis for Windows look at MSOpenTech/redis
. See Todd Menier's answer for more information.
I found one more simple way to install Redis
under Windows
Download the latest Redis
.msi
file from
https://github.com/MSOpenTech/redis/releases
after installation. The redis service is installed, we can operate it from Service manager
If you want to install MSOpenTech's latest port of Redis, on a Windows server, watched over by a Windows Service, without having to build anything yourself, read on.
MSOpenTech's seems to be the only port that is actively trying to keep up with the latest and greatest Redis. They claim it is production-ready, but they haven't exactly packaged it up neatly for installation on a server, especially if you want to run their RedisWatcher service to keep an eye on it, which is recommended. (I tried building RedisWatcher myself per their instructions, but the required Wix Toolset managed to mess up my system pretty good. I won't go into it.) Fortunately they've provided all the binaries you need, just not all in one place. From the README:
So far the RedisWatcher is not carried over to 2.6. However this should not be affected by the Redis version, and the code in the 2.4 branch should work with the Redis 2.6 binaries.
So you'll need to download binaries from 2 branches in order to get all the necessary bits. Without further ado, here are the steps:
上一篇: Invoke()和BeginInvoke()之间的区别是什么?
下一篇: 我如何在Windows上运行Redis?