Redis database installation

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
Here Insert Picture Description

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
Here Insert Picture Description
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
Here Insert Picture Description

Published 33 original articles · won praise 38 · views 70000 +

Guess you like

Origin blog.csdn.net/weixin_45736927/article/details/104772122