windows下安装 redis并开机自启动

1.下载地址:https://github.com/tporadowski/redis/releases,目前最新版本Redis 5.0.10 for Windows

2.运行redis 命令如下:redis-server.exe  redis.windows.conf

3.将redis加入到windows的服务中(service和loglevel前都是两个-)开机自启动

redis-server --service-install redis.windows-service.conf --loglevel verbose

4.常用的redis服务命令。

卸载服务:redis-server --service-uninstall

开启服务:redis-server --service-start

停止服务:redis-server --service-stop

原文地址:https://www.cnblogs.com/jingsupo/p/14015744.html