参考文章:http://www.javashuo.com/article/p-clgsnfpc-mo.htmlgit
https://github.com/MicrosoftArchive/redis/releasesgithub
https://github.com/microsoftarchive/redis/releases/tag/win-3.2.100redis
注:. msi方式能够直接安装,方便快捷,不过须要在redis.windows.conf设置密码。手动配置请下载.zip压缩包。windows
第一步:解压缩包,拷贝文件夹到计算机指定的磁盘下。缓存
下一步:进入bin目录执行下面命令 工具
redis-server.exe redis.windows.conf --maxmemory 200M
spa
下一步:是经常使用的写入键值对命令和开启密码登陆redis操做.net
下一步:注册开机自启动服务(注意:要到你安装redis的根目录下执行下面的cmd命令)code
redis-server --service-install redis.windows.conf --loglevel verbose
server
管理员方式启动cmd命令:
sc create redis binPath= C:\Redis\redis-server.exe start= auto
已经完成安装和简单的使用redis缓存操做了。
下载:https://redisdesktop.com/pricing 直接去github下载就行。
安装完了启动报错缺乏*140.dll文件,解决方法:系统控制面板 >卸载程序>找到 C++2015(64)相关的服务,卸载,会出现修复选项,点击修复,修复完成就能够解决丢失文件问题。