1。 下载链接
https://redis.io/download/
2.下载完成之后傻瓜安装
3. 打开下载安装路径
3.输入cmd回车
4.依次执行以下命令
redis-server.exe
redis-server.exe redis.windows.conf
redis-cli
shutdown
exit
redis-server.exe redis.windows.conf
可成功启动redis
5.令起黑窗口,输入redis-cli就可以开始玩了
输入命令 redis-cli,该命令会连接本地的 redis 服务
输入 set name minkl
set key value
通过get 进行取值
get name
get key
key不存在返回nil
keys * 查看当前有多少个key
6.再整个花活
(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
这个报错对应的解决办法
config set stop-writes-on-bgsave-error no
非常丝滑