新增:《Redis Desktop Manager快速入门》

This commit is contained in:
2022-10-10 21:42:58 +08:00
parent 448023ffaf
commit 299110ba82
24 changed files with 139 additions and 2 deletions

View File

@@ -0,0 +1,139 @@
---
title: Redis Desktop Manager快速入门
author: 查尔斯
date: 2021/02/22 09:41
categories:
- 工具四海谈
tags:
- Redis
- 管理工具
---
# Redis Desktop Manager快速入门
## 前言
这个时代Redis 多流行啊10 个程序员起码有 8 个听过用过。人多了,自然有人不太喜欢使用命令行来直接操作 Redis。所以在官方没有提供的情况下大家一直都在寻求一款好用的 Redis 客户端管理工具,而 RDM 这款软件,在咱们国内 IT 圈子里不说人尽皆知吧,也可以说的上是小有名气的。
::: tip 简介
RDM全称 Redis Desktop Manager。它是一个快速、简单、支持跨平台的 Redis 桌面管理工具,基于 Qt 5 开发,支持通过 SSH Tunnel 连接 [1]。它开源在了 GitHub [2] 上。
:::
长下面这样。在当前 Redis 客户端工具圈里可以说的上是 “高颜值”,而且也比较实用。
![202102220930199](../../../../../public/img/2021/02/22/202102220930199.png)
但是很可惜0.9.3.817 是它的最后一个免费版。
你可能会比较好奇,它不是开源的吗?的确,它是开源的,但也仅仅是开源,即开放源代码。而大多数开源软件都会免费提供安装包,但 RDM 从 0.9.3.817 版本开始就不再免费提供了。
这意味着什么?如果你懂一定的相关技术,自然可以利用它的源代码自己编译一个。而如果你不懂?不好意思,那就买它吧!看看下方的价格,其实也算良心价了。
![202102220930299](../../../../../public/img/2021/02/22/202102220930299.png)
当然,笔者不是来刺激你的,早就给你准备好了一份 RDM 的第三方编译版 。
![202102220930399](../../../../../public/img/2021/02/22/202102220930399.png)
在 GitHub 上,这类 RDM 第三方编译版还是挺多的,你也可以自己去搜索一下。
![202102220930599](../../../../../public/img/2021/02/22/202102220930599.png)
## 下载
笔者这里以 rdm-builder 这个 GitHub 仓库为示例,来介绍下第三方编译版的 Windows 版 RDM 下载和安装。
打开这个仓库之后,在右侧的 Releases 显示它有15个发行版最新的是 v2021.2 版,这也是随着官方来更新的。等你看到这篇文章的时候,或许它已经变成了更新的版本。
点击最新发行版,跳转到版本下载页面。
![202102220930699](../../../../../public/img/2021/02/22/202102220930699.png)
然后再点击 `xxx.exe` 即可开始下载这个第三方编译的 Windows 版 RDM 了。
![202102220930799](../../../../../public/img/2021/02/22/202102220930799.png)
下载好了,一个普普通通的可执行程序。
![202102220930899](../../../../../public/img/2021/02/22/202102220930899.png)
## 安装
接下来,我们 “傻瓜式” 安装即可。
![202102220930999](../../../../../public/img/2021/02/22/202102220930999.png)
![202102220931199](../../../../../public/img/2021/02/22/202102220931199.png)
改动一下安装位置,这个目录专门放开发工具,是笔者以前逐渐养成的个人习惯。
![202102220931299](../../../../../public/img/2021/02/22/202102220931299.png)
![202102220931399](../../../../../public/img/2021/02/22/202102220931399.png)
![202102220931599](../../../../../public/img/2021/02/22/202102220931599.png)
![202102220931699](../../../../../public/img/2021/02/22/202102220931699.png)
## 连接服务器
安装完成后,直接打开。因为不是最新版,所以每次都会弹出这个更新提示框。别管,直接点 [OK] 就行。
![202102220931799](../../../../../public/img/2021/02/22/202102220931799.png)
RDM 使用起来还是比较容易的,点击左上角的 [连接到 Redis 服务器]。
![202102220931899](../../../../../public/img/2021/02/22/202102220931899.png)
进入到连接设置之后,依次填写 [连接名称Redis 服务器地址Redis 密码(可选),用户名(可选)],可以先点击 [测试连接] 查看下是否可以连接成功。
![202102220931999](../../../../../public/img/2021/02/22/202102220931999.png)
## 常见使用
虽然,本篇笔者重点是给你安利第三方编译的 RDM但思来想去还是决定为部分小白们介绍一下 RDM 的简易操作,会用的老白们就不用看了。
### 查看所有数据库
测试连接成功后,双击连接名,就可以看到当前 Redis 服务器的所有数据库。
![202102220932199](../../../../../public/img/2021/02/22/202102220932199.gif)
### 存储键
![202102220932299](../../../../../public/img/2021/02/22/202102220932299.gif)
### 修改值
![202102220932399](../../../../../public/img/2021/02/22/202102220932399.gif)
### 修改过期时间
![202102220932599](../../../../../public/img/2021/02/22/202102220932599.gif)
### 删除键
刚才我们给 `name` 这个键设置了5秒过期之后唯一存储的数据也没了我们再新建一个然后来测试一下删除功能。
![202102220932699](../../../../../public/img/2021/02/22/202102220932699.gif)
### 命令行操作
不仅如此当你想用命令行操作时RDM 还可以直接打开控制台连接 Redis 服务器。
![202102220932799](../../../../../public/img/2021/02/22/202102220932799.gif)
## 参考资料
[1]Redis Desktop Manager 介绍https://www.oschina.net/p/redisdesktop?hmsr=aladdin1e1
[2]RDM GitHub 地址https://github.com/uglide/RedisDesktopManager/
[3]RDM 的第三方编译版https://github.com/FuckDoctors/rdm-builder

View File

@@ -9,8 +9,6 @@ tags:
- API
---
# Postman快速入门
## 前言

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB