1,redis官方下載地址:https://redis.io/download,redis 64位下載地址:https://github.com/ServiceStack/redis-windows,本人測試使用的是redis-64.3.0.503版本。
2,解壓redis-64.3.0.503.zip,解壓后的文件結構如下:
第二步:就是運行redis 命令如下:
redis-server.exe redis.windows.conf
此時顯示安裝成功了
測試,成功安裝:
3.將redis加入到windows的服務中(service和loglevel前都是兩個-)開機自啟動
redis-server --service-install redis.windows-service.conf --loglevel verbose