【安装】Windows 安装 Redis 以及 Redis管理工具

【安装】Windows 安装 Redis 以及 Redis管理工具一 下载 https github com microsoftarc redis releases 二 解压三 启动双击 redis server exe

Windows 安装 Redis

一、下载 Redis

https://github.com/microsoftarchive/redis/releases

https://download.csdn.net/download/GW/

Redis管理工具

AnotherRedisDesktopManager: Github国内镜像,供下载使用,有问题可移步到 (gitee.com)

AnotherRedisDesktopManager 发行版 – Gitee.com

或者

 Redis Desktop Manager

https://download.csdn.net/download/GW/

二、解压

【安装】Windows 安装 Redis 以及 Redis管理工具

三、启动  双击 redis-server.exe

或者 通过命令行 redis-server.exe  redis.windows.conf

【安装】Windows 安装 Redis 以及 Redis管理工具

四、将redis加入到windows的服务中(都是两个-)

redis-server --service-install redis.windows.conf --loglevel verbose
redis-server --service-install redis.windows.conf

但是安装好之后,Redis并没有启动,启动命令如下:

redis-server --service-start

停止命令:

redis-server --service-stop

卸载命令:

redis-server --service-uninstall

还可以安装多个实例

redis-server --service-install –service-name redisService1 –port 10001 redis-server --service-start –service-name redisService1 redis-server --service-install –service-name redisService2 –port 10002 redis-server --service-start –service-name redisService2 redis-server --service-install –service-name redisService3 –port 10003 redis-server --service-start –service-name redisService3

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/230060.html原文链接:https://javaforall.net

(0)
上一篇 2026年3月16日 下午3:13
下一篇 2026年3月16日 下午3:13


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号