windows下redis安裝

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 圖片

相關文章
相關標籤/搜索