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

相关推荐
艾莉丝努力练剑2 分钟前
【MYSQL】MYSQL学习的一大重点:MYSQL数据类型
android·linux·数据库·人工智能·学习·mysql·网络安全
惶了个恐4 分钟前
Linux系统编程第十弹——sqlite3
数据库
c++之路6 分钟前
Ubuntu 22.04 完整安装与配置指南(VMware + 系统优化 + 开发环境)
linux·数据库·ubuntu
pangares7 分钟前
MySQL中between and的基本用法
android·数据库·mysql
喵叔哟16 分钟前
8. 【Blazor全栈开发实战指南】--路由与导航
数据库·微服务·.net
星轨初途20 分钟前
C++入门基础指南
开发语言·c++·经验分享·redis
liqianpin122 分钟前
maven导入spring框架
数据库·spring·maven
wanhengidc28 分钟前
服务器硬盘都有哪些功能
大数据·运维·服务器·数据库·科技
A10169330711 小时前
QT数据库(三):QSqlQuery使用
数据库·qt·oracle
码云数智-大飞1 小时前
分布式锁的三种实现方案:Redis、ZooKeeper与数据库的深度对比与选型指南
数据库·redis·分布式