Redis installed
Provided Window x64 systems
Redis official website to download to other systems
Network disk address:
link: https: //pan.baidu.com/s/13IsjB-M1WPiijlyEPyv_Xg
extraction code: qs1i
After downloading, extracting archive
Directory files
Start Redis
Open a cmd window using the cd command to change to the directory (where you extracted to switch to where) run:
redis-server.exe
This screen appears indicating success
this time another start a cmd window, do not close the original, otherwise they can not access the server.
Redis run switch to the directory:
redis-cli.exe -h 127.0.0.1 -p 6379
Set key-value pair:
set mykey abc
Remove the key-value pairs:
GET MyKey