1.Redis does not natively support windows, but another team is maintaining a version under Windows
2.:
Https://github.com/MSOpenTech/redis
2.8 version in the source code does not contain the executable files under Windows, all moved to release inside, so click Release to download.
3, download after decompression
4, installation is very simple, Windows Service documentation.docx detailed description.
1) Installation Services:
Redis-server--service-install Redis.windows.conf--loglevel verbose
2) Uninstall Service:
Redis-server--service-uninstall
3) Start the service:
Redis-server--service-start
Note: Under Windows 7 64-bit machine, start if error (other environment not tried)
The solution for this is to add in redis.windows.conf:
Maxheap 1GB
Specific reasons do not know why, may be related to my machine environment (I set to 2GB and 4GB will be error)
4), Stop the service:
Redis-server--service-stop
5, specify the service name and port number of the installation:
1) Installation: Redis-server--service-install--service-name RedisService1--port 10001
Note: The above installation service will cause error (Redis service failed to start), so specify the configuration file when installing:
Redis-server--service-install redis.windows.conf--loglevel verbose--service-name redisService1--port 10001
2) Uninstall:
Redis-server--service-uninstall--service-name RedisService1--port 10001
3) Start the service:
Redis-server--service-start--service-name RedisService1
4) Stop the service:
Redis-server--service-stop--service-name RedisService1
Installing Redis Services under Windows