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