How to Run Redis as a Service under Windows

  1. Download the Windows Redis port by Dušan Majkić. Extract it to C:\Program Files\Redis or your desired directory.
  2. Download the Windows Redis service program by Konstantin Cherenkov and put it into the same directory.
  3. 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

As an alternative, you could use the redis setup from https://github.com/rgl/redis/downloads

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.