安装Redis
-
下载地址
https://github.com/MicrosoftArchive/redis/releases
-
注意选择安装路径,然后一路next
-
安装完成后双击打开
redis-server.exe
-
正常情况如下图
-
如果报错 Creating Server TCP listening socket 127.0.0.1:6379: bind: No error
- 配置
redis.windows.conf
文件 - cmd到redis目录下,执行
- redis-cli.exe
- shutdown
- exit
- redis-server.exe redis.windows.conf
- 配置
-