One: Download Redis
:https://github.com/MSOpenTech/redis/releases.
Download redis-x64-xxx.zip compressed package to C drive, for easy operation, after decompression, rename the folder to Redis.
Second: Running the service
Open a cmd window using the CD command to switch directories to C:\redis run redis-server.exe redis.windows.conf . If you want to be convenient, you can add the path of Redis to the environment variables of the system, so as to save the path again, the latter redis.windows.conf can be omitted, if omitted, the default is enabled.
After successful startup, the following:
Three: Running clients using
At this time another cmd window, the original do not close, otherwise you will not be able to access the server.
Switch to the Redis directory to run the redis-cli.exe-h 127.0.0.1-p 6379 .
Set the key-value pair set MyKey ABC
Remove key value pair get MyKey
One: Redis installation (Windows)