Windows Install Redis Service by Chocolate
Contents
Recently, a company’s project that use
Redis
hot standby intead ofAsp.Net
state service provider.
So I look around a lot of technical resources and find a solution: aspnet-redis-providers
And the detail see that article Use Redis service instead of Asp.Net session provider
This article talk about How to install redis in windows
Chocolate Install Redis
1 | # install choco |
1 | # install redis-64 |
Redis Configuration
Install Redis Service
Sample -
redis.windows.conf
1 | # default port 6379 |
Uninstall Redis Service
1 | redis-server --service-uninstall --service-name Redis6380 --port 6380 |
Redis Service Operation
1 | # start |
Redis Sentinel Configuration
Sample -
redis.sentinel.conf
1 | redis-server --service-install --service-name redisSentinel sentinel.conf --sentinel |
And the more
Redis
please see the Redis Tutorials~
Author: itabas016
Link: https://tech.itabas.com/2016/09/20/tools/chocolate-intall-redis-windows/
License: CC BY-NC-ND 4.0