windows下安装redis

本文选自http://freshclickmedia.co.uk/2013/09/installing-redis-on-windows/

Getting started with Redis on Windows is easy:

1. Download the latest .exe package fromhttps://github.com/rgl/redis/downloads (choose the appropriate latest 32 or 64 bit version).

2. Running the exe will install Redis as a service and install the Redis client.

Troubleshooting

I got an issue when installing the service through the setup.  I had to do so manually using this command (ensure that you run cmd as Administrator):

sc create redis binPath= "C:\Program Files\Redis\redis-service.exe redis conf/redis.conf"

Note that Windows is particularly fussy about the space after binPath=, and paths with spaces must be wrapped with quotes.

Have fun!

你可能感兴趣的:(windows)