redis
何锦康
这个作者很懒,什么都没留下…
展开
-
Redis学习
安装步骤下载安装包解压编译(需要gcc支持)修改配置文件从解压后的文件复制一份redis.conf到编译后的文件找到对应的配置项进行更改,比如需要更改默认端口为6377启动# 启动服务./redis-server# 使用自定义的配置文件启动./redis-server ../redis.conf # 启动客户端./redis-server# 指定ip端口启动./redis-cli -h 127.0.0.1 -p 6377设置key的过期时间# 设置name这个ke原创 2020-05-22 12:34:04 · 138 阅读 · 0 评论 -
Springboot整合Jedis工具操作redis数据库
准备工作让redis可以被远程连接,关闭保护模式,添加密码。# Warning: since Redis is pretty fast an outside user can try up to# 150k passwords per second against a good box. This means that you should# use a very strong password otherwise it will be very easy to break.#require原创 2020-05-21 23:26:26 · 203 阅读 · 0 评论