1. Download and install redis
1. Download Redis , here we plan to use version 3.0
Download address: http://redis.io/download
It should be noted that the Windows version of redis only supports 64 -bit operating systems, and others should not be considered.
2. Unzip the downloaded compressed package, for example: Unzip Redis-x64-3.0.500.zip to the D:\reids\ folder
3. In the cmd command, enter the folder you just decompressed and execute the command
redis-server.exeredis.windows.conf
After the execution is complete, it will display
It means that the redis service has been started successfully, and then open a client to test it.
4 , open a new cmd command line, or enter the directory just now, execute
redis-cli.exe-h 127.0.0.1-p 6379
Then test storing and reading data
Installed