Mac Redis 快速安装与可视化(详细流程)

一、安装

  • homebrew

  • 先查找 homebrew search redis,再直接安装,或 官方下载

    sh 复制代码
    dengzemiao@dengzemiaodeMacBook-Air ~ % brew search redis
    
    ==> **Formulae******
    
    hiredis             redis-leveldb       redir               redu
    
    iredis              redis@6.2           redict              redo
    
    **redis** **✔**             redis@8.2           reddix
    
    ==> **Casks******
    
    another-redis-desktop-manager            redis-insight
    
    jpadilla-redis                           redis-pro
    
    medis
    sh 复制代码
    # 安装
    $ brew install redis
    
    # 启动,会后台挂起,开机自启
    $ brew services start redis
    # 停止
    $ brew services stop redis
    # 重启
    $ brew services restart redis

    验证安装

    sh 复制代码
    # 看哪个指令成功就是哪个
    $ redis-server --version
    $ redis-cli --version
    
    # 验证
    $ redis-cli ping
    # 返回 PONG

    配置文件存放位置

    sh 复制代码
    # 一般是
    /opt/homebrew/etc/redis.conf
    
    # Apple Silicon(M1/M2/M3)可能会在:
    /opt/homebrew/etc/redis.conf
  • Windows 安装参考文章

  • gui 客户端对比

    名称 官网 / winget / 下载 中文支持 系统 优点 安装方式
    RedisInsight RedisInsight.RedisInsight / 官网 支持中文(可切换) Win / Mac / Linux 官方出品,功能全面:Key 浏览、CLI、图表监控 官方安装包 / winget install
    Another Redis Desktop Manager (RDM) qishibo.AnotherRedisDesktopMana / GitHub 部分中文 Win / Mac / Linux 社区活跃,更新快,支持多数据库连接 官方 exe / dmg / AppImage
    TablePlus TablePlus.TablePlus / 官网 支持中文 Win / Mac UI 美观,支持多种数据库(MySQL / Postgres / Redis 等) 官方安装包
    P3X Redis UI PatrikLaszlo.P3XRedisUI / GitHub 英文 Win / Mac / Linux 跨平台 Electron 应用,支持多数据库 npm / exe / dmg

二、可视化

  • Windows 参考文章 中有介绍过了,直接安装 another-redis-desktop-manager

    sh 复制代码
    $ brew search another-redis-desktop-manager
  • 安装

    sh 复制代码
    # 安装可视化软件需要使用 --cask ,如果不是则不需要使用,Casks 下面的都需要,Formulae 下面不用带这个参数
    $ brew install --cask another-redis-desktop-manager
  • 修改语言

  • 然后连接 resdis 即可。

  • 如果是其他电脑需要修改访问权限限制:# Windows Redis Memurai 配置指南、用户创建、权限管理

相关推荐
冰冰菜的扣jio3 小时前
Redis缓存中三大问题——穿透、击穿、雪崩
java·redis·缓存
阿里巴巴P8资深技术专家3 小时前
基于 Spring AI 和 Redis 向量库的智能对话系统实践
人工智能·redis·spring
oMcLin4 小时前
如何在 AlmaLinux 9 上配置并优化 Redis 集群,支持高并发的实时数据缓存与快速查询?
数据库·redis·缓存
洛阳纸贵4 小时前
Redis
数据库·redis·缓存
挺6的还6 小时前
13.持久化
redis
沙白猿6 小时前
Redis报错:A bean with that name has already been defined in class path resource
spring boot·redis·mybatis
IT 行者6 小时前
Spring Security 7 OAuth2 授权码分布式存储之Redis存储方案
redis·分布式·spring
花~盗7 小时前
redis笔记
redis
五阿哥永琪7 小时前
Spring Data Redis 实战避坑指南:从配置到缓存预热的全链路最佳实践
redis·spring·缓存
win x8 小时前
Redis 哨兵模式
数据库·redis·缓存