随笔 - 53
文章 - 0
评论 - 36
阅读 -
26万
随笔分类 - Redis
Redis学习、运用
04.spring-data-redis与Jedis整合使用
摘要:1.spring-data-redis与Jedis简单整合spring-data-redis与Jedis简单整合,Redis没有任何集群只是单节点工作,使用连接池1.创建spring-context-jedis.xml配置文件 --> ...
阅读全文
03.RedisJava客户端Jedis的使用
摘要:1.Jedis基本使用 使用Jedis客户端使用Redis服务与在服务器上通过redis-cli使用命令基本一样,关于Redis命令请参考:http://www.redis.cn/commands.html、http://www.runoob.com/redis/redis-commands.htm
阅读全文
sentinel.conf配置
摘要:1.常用的配置port 26379# sentinel announce-ip # sentinel announce-port dir /tmp################################# master001 #################################sentinel monitor master001 192.168.110.101 6379 2#...
阅读全文
02.Redis主从集群的Sentinel配置
摘要:1.集群环境 1.Linux服务器列表 使用4台CentOS Linux服务器搭建环境,其IP地址如下: 192.168.110.100 192.168.110.101 192.168.110.102 192.168.110.103 2.Redis服务部署环境 192.168.110.100 192
阅读全文
redis.conf配置
摘要:# Redis configuration file example# Redis示例配置文件# Note on units: when memory size is needed, it is possible to specify# it in the usual form of 1k 5GB 4M and so forth:# 注意单位问题:当需要设置内存大小的时候,可以使用类似1k、5GB...
阅读全文
01.Redis安装
摘要:1.安装Redis 1.下载、解压Redis [wch@localhost Redis]$ ll total 1248 -rwxrwxr-x.1 wch wch 1276198Sep2023:31 redis-2.8.22.tar.gz [wch@localhost Redis]$ tar -zxv
阅读全文