windows安装redis并设置开机启动服务
redis官方下载地址:https://redis.io/download
解压后在redis文件夹内打开命令行,执行
redis-server.exe redis.windows.conf
即可运行成功。
如果设置开机启动,只需要将redis加入到windows服务即可
redis-server.exe --service-install redis.windows-service.conf --loglevel verbose
redis-server.exe --service-start
#redis-server.exe --service-stop
本文由作者按照 CC BY 4.0 进行授权