How to build a redis environment in a Windows operating system and a redis
1. Download suitable for installing Redis in Windows operating systems: https://github.com/dmajkic/redis/downloads
2. decompress the downloaded compressed file and you will get two versions of Redis: 32-bit and 64-bit.
3. select an appropriate version and copy the folder to another place, such as the C: \ redis directory.
4. Open a cmd window and use the cd command to switch to the C: \ redis directory.
Run redis-server.exe redis. conf on the 5th node, as shown in figure. Note: redis. conf can be omitted. If omitted, the default setting is enabled.
6. Open a new cmd window. Use the cd command to switch to the C: \ redis directory, as in step 3 above.
7. Run redis-cli.exe-h 127.0.0.1-p 6379 in the new window, as shown in. Note: Do not close the original window, or you will not be able to access the server.