随笔分类 -  redis

摘要:前言 redis在生产环境中通常都会设置密码以保证一定的安全性,本篇blog就简单记录一下如何在redis中设置客户端登录密码。 修改redis.conf 说明:暂时没有测试,一般自己的电脑安装中使用没有用到密码。 打开redis.conf文件,搜索requirepass关键字,如下图: 关注标记的 阅读全文
posted @ 2019-09-11 14:53 絵飛ヾ的魚 阅读(678) 评论(0) 推荐(0)
摘要:来源:http://www.cnblogs.com/Springmoon-venn/p/10141915.html 方法定义如下: 功能都是一样的,“Set the string value as value of the key.” 将string类型的value 放到key的value上,返回值 阅读全文
posted @ 2019-03-15 16:08 絵飛ヾ的魚 阅读(409) 评论(0) 推荐(0)
摘要:解析redis.conf >>.Units单位(set nu) >>.INCLUDES:可以包含其他配置文件(application.xml importXXX) >>.GENERAL daemonize yes 后台运行 pidfile redis运行时ID保存位置 tcp-keepalive 0 阅读全文
posted @ 2018-10-12 11:35 絵飛ヾ的魚 阅读(172) 评论(0) 推荐(0)