1. 1. Windows安装redis
  2. 2. 安装为Windows服务(推荐)
  3. 3. 下载Redis桌面客户端

Windows安装redis

  1. 下载地址:
    GitHub - MicrosoftArchive/redis
    下载zip文件

  2. 解压到目录

  3. 修改**redis.windows.conf**文件

    1
    2
    3
    4
    5
    6
    7
    8
    # 绑定监听 IP(默认 127.0.0.1,仅本地访问;若需远程访问改为 0.0.0.0,但不安全!)
    bind 127.0.0.1

    # 监听端口(默认 6379,若被占用可修改为其他端口如 6380)
    port 6379

    # 启用密码认证(生产环境必改,本地开发可选)
    requirepass your_redis_password # 替换为你的密码(如 "123456")
  4. 启动redis服务
    redis-server.exe redis.windows.conf

安装为Windows服务(推荐)

  1. 输入命令
1
D:\software\redis\Redis-x64-3.0.504\redis-server.exe --service-install D:\software\redis\Redis-x64-3.0.504\redis.windows.conf --loglevel verbose

image-20260125162300199

  1. 启动服务
    1
    net start Redis

下载Redis桌面客户端

https://gitee.com/qishibo/AnotherRedisDesktopManager/releases