參考文章: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)相關的服務,卸載,會出現修復選項,點擊修復,修復完成就能夠解決丟失文件問題。