Redis配置
redis配置文件在/etc的目录下
命令行进入redis
首先redis-cli进入redis
登陆auth "你的密码"
编辑配置:
可以通过修改 redis.conf 文件或使用 CONFIG set 命令来修改配置
Redis五种数据类型
string
hash
list
set
zset
一个键最大存储512MB
redis相关教程
https://www.runoob.com/redis/redis-hashes.html
redis常用命令:
https://blog.csdn.net/weixx3/article/details/92188775
redis命令操作详解
https://blog.csdn.net/weixin_30657541/article/details/94829106
检查key是否存在:exists key
搜索关键字:keys * redis允许模糊查询key 有3个通配符 *、?、[]
https://www.cnblogs.com/gflyx/p/13024648.html