当前位置:网站首页>un7.28:redis客户端常用命令。
un7.28:redis客户端常用命令。
2022-07-29 04:40:00 【优秀的小爱子】
安装完成Redis,我们就可以操作Redis,实现数据的CRUD(增删改查)了。这需要用到Redis客户端常用的一些命令,我给大家分享最常用的一些。
一、Redis命令行客户端
1、输入命令进入,命令:cd /usr/local/bin

2、输入ping 会显示你没有访问权限,输入密码后才会有访问权限,

Redis安装完成后就自带了命令行客户端,命令:redis-cli
具体命令:redis-cli [options] [commonds]
其中常见的options有:
- `-h 127.0.0.1`:指定要连接的redis节点的IP地址,默认是127.0.0.1
- `-p 6379`:指定要连接的redis节点的端口,默认是6379
- `-a 123321`:指定redis的访问密码
二、图形化桌面客户端
GitHub上的大神编写了Redis的图形化桌面客户端,地址:https://github.com/uglide/RedisDesktopManager
不过该仓库提供的是RedisDesktopManager的源码,并未提供windows安装包
三、输入网址找到安装包,下载并解压,网址:https://github.com/lework/RedisDesktopManager-Windows/releases

四、连接redis

这只是一小部分口令,漫漫长路慢慢走。
边栏推荐
- Use of torch.optim optimizer in pytorch
- Pytorch GPU and CPU models load each other
- C语言实现三子棋
- Build auto.js script development environment
- Update learning materials daily
- Christmas tree web page and Christmas tree application
- Implementation of img responsive pictures (including the usage of srcset attribute and sizes attribute, and detailed explanation of device pixel ratio)
- Deploy Jenkins using containers
- 正确的用户拖拽方式
- Ethernet of network
猜你喜欢

如何避免示波器电流探头损坏

TypeError: Cannot read properties of undefined (reading ‘then‘)

Pytoch automatic mixing accuracy (AMP) training

网络之以太网

Vscode one click compilation and debugging

Star a pathfinding in LAYA

Pytoch distributed training

Install the gym corresponding to mujoco in the spinning up tutorial, and the error mjpro150 is reported

Update learning materials daily

Pycharm reports an error when connecting to the virtual machine database
随机推荐
Makefile+make Basics
Redux quick start
Pycharm reports an error when connecting to the virtual machine database
Idea small settings
TypeError: Cannot read properties of undefined (reading ‘then‘)
VScode配置makefile编译
[c language] PTA 7-48 find the number of combinations
央企建筑企业数字化转型核心特征是什么?
RecyclerView通过DPAD按键上下切换焦点 切换到界面外的控件时焦点会左右乱跳
使用近场探头和电流探头进行EMI干扰排查
Detailed comparison of break and continue functions
Mysql各版本下载地址及多版本共存安装
Mongo shell interactive command window
Actual combat of flutter - DIO of request encapsulation (II)
MySQL - deep parsing of MySQL index data structure
leetcode 686.重复叠加字符串 KMP方法(C语言实现)
Basic grammar of C language
Oracle insert data
def fasterrcnn_resnet50_fpn()实例测试
常见的限流方式