First, the reference address
Official address: https://redis. io/
Windows version "Learning to use": Https://github.com/MicrosoftArchive/redis
Second, the Windows version of Redis use
1. Unzip the Directory
2. Enter the folder under cmd:
Redis-server Redis. Windows. conf
If startup fails, a possible problem
Tip: QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed.: unknown error
. The cause is a memory allocation problem. There are two ways to resolve this
First: Use the command to --maxmemory
limit Redis memory when booting:
REdis-server Redis. Windows. Conf --maxmemory 200m
The second method is to modify the configuration file redis.windows.conf
:
MaxMemory 209715200 "unit is byte" before running: Redis-server redis.windows.conf
Client: Redis-cli.exe, run to view
3.redis Service
Redis-server.exe--service-Install redis.windows.conf--loglevel verboseredis-server--service- Startredis-server--service-stop
4. Launch multiple instances
Redis-server--service-Install10001redis-server--service-start–service-Name Redisservice1redis-server--service-install10002redis-server--service-start– service-name Redisservice2redis-server--service-install10003redis-server- -service-start–service-name RedisService3
5. Uninstall
Redis-server--service-uninstall
6. Desktop side
: Https://redisdesktop.com/download
001-window version of Redis installation