connect au serveur
redis-cli
- 字符 https://www.runoob.com/redis/redis-keys.html
- SET
- set name_key value (set test1 longyu)
- GET
- get name_key (get test1)
- DEL
- del name_key
- SET
- 列表 https://www.runoob.com/redis/redis-lists.html
- LPUSH key value (创建一个列表)
- LRANGE key (返回列表里的值)
- 集合(set) https://www.runoob.com/redis/redis-sets.html
- SADD key alue(创建集合,加入值到集合)
- 有序集合 https://www.runoob.com/redis/redis-sorted-sets.html
- ZADD key order alue (ZADD name 1 longyu)
- 订阅发布 https://www.runoob.com/redis/redis-pub-sub.html
- subscribe
- publish
- python 用 redis 插件
- 参数检查
- 显示查找
- CONFIG
- CONFIG GET dir
- CONFIG get requirepass
- INFO
- CONFIG
- 显示查找