
redis
zy_whynot
这个作者很懒,什么都没留下…
展开
-
配置redis支持远程连接
q前提已经安装好redis 1. 配置 redis.conf vim /usr/local/bin/redis-conf/redis.conf # 找到 bind 将其注释 #bind 127.0.0.1 # 找到 protected-mode 值改为 no protected-mode yes 改为 no # 设置后台运行 daemonize no 改为 yes # 设置连接密码 requirepass redis123 重启redis # 1. 查看redis服务进程 ps -ef | grep原创 2022-05-28 22:58:59 · 350 阅读 · 0 评论 -
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Com
参考资料: 资料1 资料2 错误 # set 值时报错 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error. 原因 大概意思就是不能持久化吧(网上有人说是内存不原创 2021-11-16 14:27:47 · 816 阅读 · 0 评论 -
Ubuntu安装Redis及使用
数据类型: redis是key-value的数据,所以每个数据都是一个键值对 键的类型是字符串 值的类型分为五种: 字符串string 哈希hash 列表list 集合set 有序集合zset 参考:Ubuntu安装Redis及使用转载 2020-05-12 14:09:02 · 189 阅读 · 0 评论