Windows下Redis下载地址和后台启动停止命令

Windows下Redis下载地址和后台启动停止命令

Windows中Redis下载地址:https://github.com/MicrosoftArchive/redis/releases
可视化工具下载地址:https://github.com/qishibo/AnotherRedisDesktopManager/releases

设置后台启动

  1. 进入下载解压好的目录,修改配置文件redis.windows.conf
  2. 注释bind 127.0.0.1
  3. 将redis默认的守护关闭,即:将protected-mode yes 修改为protected-mode no 没有就不改
  4. 切换到redis的安装目录,输入以下命令:注册服务
redis-server.exe --service-install redis.windows.conf --loglevel verbose
  1. 启动redis
redis-server --service-start
  1. 停止redis
redis-server --service-stop

注意:启动和停止都需要在redis的安装目录下

posted @   橙香五花肉  阅读(363)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· .NET10 - 预览版1新功能体验(一)
点击右上角即可分享
微信分享提示