Redis Windows版本

下载地址:https://github.com/redis-windows/redis-windows/releases

提供三种运行模式

直接运行项目中的 start.bat 脚本,一键启动

或者使用命令行

还支持以系统服务运行

命令行启动

cmd 启动

redis-server.exe redis.conf

powershell 启动

./redis-server.exe redis.conf

安装服务

可实现开机自启动 请以管理员身份运行,并将RedisService.exe改为您实际存放的路径

sc.exe create Redis binpath=C:\Software\Redis\RedisService.exe start= auto

启动服务

net start Redis

停止服务

net stop Redis

卸载服务

sc.exe delete Redis

image

项目主页: https://github.com/redis-windows/redis-windows