1,redis官方下载地址:https://redis.io/download,redis 64位下载地址:https://github.com/ServiceStack/redis-windows,本人测试使用的是redis-64.3.0.503版本。git
2,解压redis-64.3.0.503.zip,解压后的文件结构以下:github
3,修改redis.windows.conf文件,设置maxmemory 大小
设置redis密码
redis
4,启动redis: windows
redis-server.exe redis.windows.conf测试
测试,成功安装:
server
5,将redis加入到windows的服务中(service和loglevel前都是两个-)blog
redis-server –service-install redis.windows.conf –loglevel verbose 图片