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

相关推荐
lyrhhhhhhhh20 分钟前
Spring 框架 JDBC 模板技术详解
java·数据库·spring
喝醉的小喵2 小时前
【mysql】并发 Insert 的死锁问题 第二弹
数据库·后端·mysql·死锁
付出不多2 小时前
Linux——mysql主从复制与读写分离
数据库·mysql
初次见面我叫泰隆2 小时前
MySQL——1、数据库基础
数据库·adb
Chasing__Dreams2 小时前
Redis--基础知识点--26--过期删除策略 与 淘汰策略
数据库·redis·缓存
亚林瓜子2 小时前
Spring集成Redis中禁用主机名DNS检测
redis·spring·ssh
源码云商2 小时前
【带文档】网上点餐系统 springboot + vue 全栈项目实战(源码+数据库+万字说明文档)
数据库·vue.js·spring boot
源远流长jerry3 小时前
MySQL的缓存策略
数据库·mysql·缓存
纯纯沙口3 小时前
Qt—用SQLite实现简单的注册登录界面
数据库·sqlite
初次见面我叫泰隆3 小时前
MySQL——3、数据类型
数据库·mysql