How to Run Redis as a Service under Windows
Submitted by John on Wed, 11/01/2012 - 14:33
- Download the Windows Redis port by Dušan Majkić. Extract it to C:\Program Files\Redis or your desired directory.
- Download the Windows Redis service program by Konstantin Cherenkov and put it into the same directory.
- Run the following (or follow the instructions on the Windows Redis Service page):
sc create Redis start= auto DisplayName= Redis binpath= "\"C:\Program Files\Redis\RedisService.exe\" \"C:\Program Files\Redis\redis.conf\""
SC is a windows utility which creates services. If you've never used it before, note well the spacing or lack thereof around the = signs because this stings basically everyone the first time.
That's it!
Comments
Alternative
As an alternative, you could use the redis setup from https://github.com/rgl/redis/downloads
Add new comment