![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
redis
文章平均质量分 73
思之远也
有梦想,不会输
展开
-
Redis基础类型之list
BLPOP key [key ...] timeout summary: Remove and get the first element in a list, or block until one is available since: 2.0.0 BRPOP key [key ...] timeout summary: Remove and get the last element in a list, or block until one is available sinc...原创 2021-06-01 18:00:02 · 119 阅读 · 0 评论 -
Redis基础类型之string
127.0.0.1:6379> help @string APPEND key value summary: Append a value to a key since: 2.0.0 BITCOUNT key [start end] summary: Count set bits in a string since: 2.6.0 BITFIELD key [GET type offset] [SET type offset value] [INCRBY type .原创 2021-05-27 17:32:10 · 75 阅读 · 0 评论 -
Redis编译安装
1、下载解压 下载 wget https://github.com/redis/redis/archive/refs/tags/5.0.5.tar.gz 如果没有wget命令使用yum install -y wget安装 解压 tar -xf 5.0.5.tar.gz 2、编译 cd redis-5.0.5/ make 如果出现以下错误代表缺少gcc编译器,直接yum安装即可 yum install -y gcc 然后再执行 make 命令,会发现出错了 ...原创 2021-04-22 13:43:40 · 240 阅读 · 0 评论