Redis Windows版本安装教程

由于Redis官网不再提供最新版本的Windows安装包,但有些项目根据需要用到最新版本的。

Github仓库redis-windows提供了最新版Windows安装包下载

Redis最新版Windows安装包

https://github.com/redis-windows/redis-windows/releases

1. 命令行启动

cmd 启动
redis-server.exe redis.conf

powershell 启动
./redis-server.exe redis.conf

2. 安装服务

实现开机自启动 请以管理员身份运行,并将RedisService.exe改为您实际存放的路径
sc.exe create Redis binpath= "C:\Software\Redis\RedisService.exe" start= auto

注意:binpath=后面要有空格,目录要有双引号

出现Sc CreateService成功,表示创建成功

启动服务
net start Redis

停止服务
net stop Redis

卸载服务
sc.exe delete Redis

说明:亲自实验后,Redis安装服务成功并启动,但是使用Redis可视化连接却一直失败,没有找到解决方案,有合适的解决方案可以放在评论区。

Redis可视化工具

RedisDesktopManager-Windows

下载地址:https://github.com/lework/RedisDesktopManager-Windows/releases

相关推荐
IT枫斗者枫哥2 小时前
MyBatis一对多分页:LIMIT 20,为什么凑不齐20个订单?
java·数据库
律宏阔2 小时前
WSL Docker 端口明明空闲,但就是绑不上端口
linux·windows
律宏阔2 小时前
Windows 禁用联想笔记本所有 Lenovo 后台服务
windows
律宏阔2 小时前
WSL 突然断网,无法 ping 内网或外网
linux·windows
Y002 小时前
PostgreSQL 的锁:为什么你的 ALTER TABLE 会卡住,以及怎么查
数据库·postgresql
不好听6132 小时前
缓存三大坑:穿透·击穿·雪崩一次讲透
redis
行百里er2 小时前
Redis 核心数据结构(四)——Set 与 Sorted Set,去重与排名神器
redis·后端
灰原喜欢柯南2 小时前
OceanBase 运维管理知识点——OCP 监控、诊断与变更控制
数据库·oceanbase
码农-0042 小时前
Springboot 集成 Ehcache操作数据库显示SQL语句设置
数据库·spring boot·sql
仍然.2 小时前
Redis---事务
数据库·redis