
redis
文章平均质量分 92
ssxueyi
15年软件开发、管理、产品设计经验,大数据领域新星创作者,擅长大数据和数据可视化、BI的规划、设计、落地。
展开
-
windows版redis下载地址
现在的redis官网没有windows版的下载连了,只能到GitHub下载,地址是:https://github.com/MicrosoftArchive/redis/tags目前(2018-8-18)的最新版本是3.2.100,如图:原创 2018-08-18 16:51:38 · 8457 阅读 · 3 评论 -
redis启动报错:The Windows version of Redis allocates a memory mapped heap for sharing with the 解决方法
今天启动redis失败,报以下错误:The Windows version of Redis allocates a memory mapped heap for sharing with the forked process used for persistence operations. In order to share this memory, Windows allocates fr...原创 2019-09-03 10:49:30 · 3757 阅读 · 0 评论 -
redis在线切换主从关系(redis主从模式)
环境:master:127.0.0.1 6379slave1:127.0.0.1 6380slave2:127.0.0.1 6381如果想把主节点切换为6381,可以通过以下步骤完成:1.更改6379的主从配置,指定新主节点:# redis-cli -h 127.0.0.1 -p 6379127.0.0.1:6379> slaveof 127.0.0.1 638...原创 2019-09-04 11:49:53 · 2667 阅读 · 0 评论 -
redis单节点模式配置
1.新建文件夹63792.在6379文件夹下新建redis.conf配置文件,内容如下:bind 127.0.0.1#端口port 6379#日志位置logfile "./6379/6379.log"#数据文件dbfilename "dump-6379.rdb"#redis路径dir "E:\\mypro\\redis-x64-2.8.21-oneline"...原创 2019-09-09 16:10:23 · 973 阅读 · 0 评论 -
redis主从模式搭建配置(一主二从)
一主二从模式:1.新建文件夹6380、6381、63822. 分别在6380、6381、6382文件夹下创建380.conf、6381.conf、6382.conf配置文件6380.conf内容如下:#主节点bind 127.0.0.1#端口port 6380#日志文件logfile "./6380/6380.log"#数据文件dbfilename "./...原创 2019-09-09 16:24:28 · 941 阅读 · 0 评论 -
redis哨兵模式搭建配置(一主三从三哨兵)
一主三从三哨兵模式:1.新建文件夹6379、6380、6381、6382、26380、26381、263822.分别在6379、6380、6381、6382、26380、26381、26382文件夹下创建6379.conf、6380.conf、6381.conf、6382.conf、26380.conf、26381.conf、26382.conf配置文件6379.conf配置文件内...原创 2019-09-09 16:46:06 · 1557 阅读 · 0 评论 -
redis配置参数详细说明
#redis.conf#配置文件使用方法# ./redis-server /path/to/redis.conf################################## conf引用 ####################################可以把配置参数放到其他conf配置文件中,然后引入进来。# include /path/to/local.conf# i...原创 2019-09-10 11:46:12 · 1835 阅读 · 0 评论 -
redis哨兵sentinel配置参数说明
#sentinel 配置#端口port 26379#目录dir /tmp#日志文件logfile /var/log/redis/redis-sentinel.log#是否在后台执行,yes:后台运行;no:不是后台运行daemonize yes#是否开启保护模式,默认开启。开启后,只能根据配置的bind地址和密码进行访问。protected-mode no#主节点信息,格式...原创 2019-09-10 14:43:50 · 4629 阅读 · 0 评论