Redis安装和使用(windows)

1.下载安装

下载地址:https://github.com/MicrosoftArchive/redis/releases

选择一个版本,解压缩。如下图:


2.运行调试

在D:\work\Redis-x64-3.2.100的目录下shift+鼠标右键选择"在此处打开命令窗口",运行 redis-server.exe redis.windows.conf,如下图:


在D:\work\Redis-x64-3.2.100的目录下shift+鼠标右键选择"在此处打开命令窗口",运行 redis-cli.exe -h 127.0.0.1 -p 6379

设置键值对 set key 123
取出键值对 get key

出现下图说明测试运行成功.

3.redis可视化工具

下载地址:https://redisdesktop.com/download


猜你喜欢

转载自blog.csdn.net/qingchunnianhua1/article/details/79571004