当前位置:网站首页>Redis deployment and use
Redis deployment and use
2022-04-21 09:32:00 【It is not difficult】
Preface
redis Remote dictionary service , Is an open source use ANSI C Language writing 、 Support network 、 Log type that can be memory based or persistent 、Key-Value database , And provide multilingual API.
Deploy
# Source
yum install -y http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
# Install the software
yum --enablerepo=remi install redis
# Start the service
systemctl enable --now redis
Use
# list
redis-cli
keys *
#redis Check the value
# View type
type spiders:crawl_lotto:h_spider_time
#string type
get dedup:bloomfilter:bloomfilter0
#hash type
HKEYS spiders:crawl_lotto:h_spider_time
#zset type
ZRANGE spiders:crawl_lotto:z_failed_requsets 0 -1
版权声明
本文为[It is not difficult]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210928298434.html
边栏推荐
- 基于WebSocket实现一个简易的群聊功能
- Note 0104 MySQL advanced - index - Overview
- 事务的隔离级别与MVCC
- Zabbix 5.4 Server安装
- 2022 a special equipment related management (elevator) test question simulation test platform operation
- The database has a table in which JSON data is stored in one field. I need to parse this string when this table is updated, and then update the parsed JSON data to another table. What are the good sug
- 多线程---解析无锁队列的原理与实现
- 【Flutter 专题】124 日常问题小结 (三) 自定义 Dialog 二三事
- Download the first analysis report on China's database industry!
- vr全景适合那些行业
猜你喜欢

Postman test excel file import and export function

How to improve the ability of programming? What is the most important thing about learning programming? Please see how mortals learn C

【栈和队列】C语言简单应用 ⌊栈和队列互相实现,循环队列⌉

Responsive layout to realize the static page of ghost blog home page

Download the first analysis report on China's database industry!

【笔记】.launch文件语法记录

【DL-图像分类】

CC00026. CloudJenkins—————————————

Geek challenge 2019 upload 1

2022 question bank and simulation examination of work license of main principals of hazardous chemical business units
随机推荐
1151: large integer addition
Japanese brother's open source "self abuse artifact" exploded overnight: use the handle to control his face, take the code and bear the consequences
Yapi basic use (2022-04-15)
1153: the longest sequence of simple version
【笔记】.launch文件语法记录
复旦大学-华盛顿大学EMBA校友:将"她力量"变成"我们的力量"
【概率论与数理统计】1.4 条件概率
【DL-图像分类】
Netease blog is going to be closed. My article!
Note 0104 MySQL advanced - index - Overview
What are the products of Guangzhou futures exchange?
1150: how many integers
CentOS下Docker中安装MySQL
Kali:sqlmap :[10:39:37] [CRITICAL] unable to connect to the target URL
Control the start, hide, display and close of another program
1148: 组合三位数之一
Surfaceview high performance rendering (IV) code practice - drawing multiple pictures
1167: number of reversals (pointer topic)
CC00043. CloudJenkins—————————————
[Yugong series] wechat applet - API related function case of map use in April 2022