【Redis】使用学习

【Redis】使用学习

============================================================

1、windows 安装

============================================================

1、windows 安装

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

解压到 D: edis-x64-3.2.100
cd D: edis-x64-3.2.100
安装命令:
redis-server.exe --service-install redis.windows.conf --loglevel verbose
启动服务命令:
redis-server.exe --service-start
关闭服务命令:
redis-server.exe --service-stop
控制台连接
redis-cli.exe -h 127.0.0.1 -p 6379
> config get requirepass
> config set requirepass 123456
设置密码之后
> auth 123456

原文地址:https://www.cnblogs.com/yangchongxing/p/12238154.html