官網只提供linux版本的下載linux
官網下載地址:http://redis.io/downloadgit
Redis 沒有官方的Windows版本,可是微軟開源技術團隊(Microsoft Open Tech group)開發和維護着這個 Win64 的版本。github
Windows版本github下載地址:https://github.com/MicrosoftArchive/redisredis
redis中文網站:http://redis.cn/windows
解壓下載的壓縮包redis-windows-master.zip網站
直接運行E:\tools\redis-windows-master\src\msopentech\redis-64.2.8.2101\redis-server.exeserver
或者在cmd裏進入到E:\tools\redis-windows-master\src\msopentech\redis-64.2.8.2101文件夾,運行redis-server redis.windows.conf,出現下圖顯示錶示啓動成功了。blog
設置redis爲Windows的服務進程,防止關掉cmd窗口,redis也跟着關掉。進程
redis-server --service-install redis.windows-service.conf --loglevel verboseip
卸載服務:redis-server --service-uninstall
開啓服務:redis-server --service-start
中止服務:redis-server --service-stop