Microsoft Open Tech Group has developed a Redis Win64 version on GitHub with the project address:Https://github.com/MSOpenTech/redis
you can find the zip package on the right side of the project homepage: https://github.com/MSOpenTech/redis/archive/2.8.zip
Download unzip, there is nothing to say, in the extracted bin directory under the following these files:
redis-benchmark.exe #基准测试redis-check-aof.exe # aofredis-check-dump.exe # Dumpredis-cli.exe # client Redis-server.exe # server redis.windows.conf # configuration file
refer to Redisservice.docx file, The startup script is as follows:
Redis-server redis.windows.conf
D:\redis-2.8. ->redis-Server.exe redis.windows.conf[4692] -Nov A: -:05.995#The Windows version of Redis allocates a memory mapped heap forsharing withthe forked process used forPersistence operations. In order to share Thismemory, Windows allocates fromThe system paging file a portion equal to thesize of the Redis heap. at ThisTime there isinsufficient contiguous freespace availableinchThe System paging file for Thisoperation (Windows error0X5AF). To work around Thiseither increase the size of the systempaging file, or decrease the size of the Redis heap with the--maxheap flag. Sometimes a reboot would defragment the system paging file sufficiently for Thisoperation to complete successfully. please see the documentation included with the binary distributions forMoredetails on the--maxheap flag. Redis can notContinue. Exiting.
As a hint, there is a problem with the Maxheap identity, open the profile redis.windows.conf, search for maxheap, and then directly specify the good content.
# maxheap <bytes>1024000000
Then start again, OK, success.
D:\redis-2.8. ->redis-Server.exe redis.windows.conf _._ _.-``__"'-._ _.-`` `. `_."'-._ Redis2.8. -(00000000/0) -bit.-`` .-```. ```\/ _.,_"'-._ ( ' , .-` | `, ) Running in stand alone mode|`-._`-...-` __...-.``-._|'` _.-'| Port:6379| `-._ `._ / _.-' | pid:2700`-._ `-._ `-./ _.-' _.-'|`-._`-._ `-.__.-' _.-'_.-'|| `-._`-._ _.-'_.-'| http//Redis.io`-._ `-._`-.__.-'_.-'_.-'|`-._`-._ `-.__.-' _.-'_.-'|| `-._`-._ _.-'_.-'| `-._ `-._`-.__.-'_.-'_.-'`-._ `-.__.-' _.-' `-._ _.-'`-.__.-'[2700] -Nov A: the:44.958# Server started, Redis version2.8. -[2700] -Nov A: the:44.958* DB Loaded fromDisk0.000seconds[2700] -Nov A: the:44.958* The server isNow-ready-to- accept connections on port6379
Redis on Windows