https://blog.csdn.net/u012343297/article/details/78839063
1. Redis official download address: https://redis.io/download , redis 64-bit download address: https://github.com/ServiceStack/redis-windows , I used the redis-64.3.0.503 version for my test.
2. Decompress redis-64.3.0.503.zip, the decompressed file structure is as follows:
3. Modify the redis.windows.conf file, set the maxmemory size and
set the redis password
4. Start redis:
redis-server.exe redis.windows.conf
Tested, successfully installed:
5. Add redis to the windows service (both two-)
redis-server –service-install redis.windows.conf –loglevel verbose