随笔分类 - redis
摘要:环境:OS:Centos 7redis:8.2.2 角色 机器ip主 192.168.1.108 7001从 192.168.1.108 7002主 192.168.1.108 7003从 192.168.1.108 7004主 192.168.1.108 7005从 192.168.1.108 7
阅读全文
摘要:环境:OS:Centos 7redis:8.2.2 前置条件需要安装gcc和tcl:yum install gccyum install tcl 报错1:cc: error: ../deps/fast_float/libfast_float.a: No such file or directorym
阅读全文
摘要:环境:OS:Centos 7redis:7.4.6 角色 机器ip主 192.168.1.108 7001从 192.168.1.108 7002主 192.168.1.108 7003从 192.168.1.108 7004主 192.168.1.108 7005从 192.168.1.108 7
阅读全文
摘要:环境:OS:Centos 7redis:7.4.6 前置条件需要安装gcc和tcl:yum install gccyum install tcl 1.下载安装介质我这里下载的是 redis-7.4.6.tar.gz下载地址:http://download.redis.io/releases/ 2.解
阅读全文
摘要:环境:OS:Centos 7redis:6.2.20 角色 机器ip主 192.168.1.106 7001从 192.168.1.106 7002主 192.168.1.106 7003从 192.168.1.106 7004主 192.168.1.106 7005从 192.168.1.106
阅读全文
摘要:环境:OS:Centos 7redis:6.2.20 1.下载安装介质我这里下载的是 redis-6.2.20.tar.gz下载地址:http://download.redis.io/releases/ 2.解压介质并安装[root@localhost soft]# tar -xvf redis-6
阅读全文
摘要:环境:OS:Centos 7redis:5.0.14 角色 机器ip主 192.168.1.105 7001从 192.168.1.105 7002主 192.168.1.105 7003从 192.168.1.105 7004主 192.168.1.105 7005从 192.168.1.105
阅读全文
摘要:环境:OS:Centos 7redis:5.0.14 问题1:You need tcl 8.5 or newer in order to run the Redis testrpm -qa | grep tcl解决办法:yum install tcl 问题2: make test 报错误 !!! W
阅读全文
摘要:python:2.7 # -*- coding: utf-8 -*- import binascii # 完整的CRC16 XMODEM查找表 crc16_table = [ 0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50a5, 0x60c6, 0x70e7
阅读全文
摘要:redis-shake日常维护 1.实践例子源端同步到目标端是集群模式的情况,源端单机的不支持分db使用,集群模式不支持select db的格式,会报如下错误 2025-04-17 14:49:46 ERR [writer_192.168.1.134_7001] receive reply fail
阅读全文
摘要:/usr/local/services/redis/redis-trib.rb create --replicas 1 192.168.1.100:7001 192.168.1.100:7002 192.168.1.100:7003 192.168.1.100:8001 192.168.1.100:
阅读全文
摘要:环境: os:Centos 7 redis:4.0.12 1. 查看ruby安装路径 [root@dev_test_redis ~]# which ruby /opt/ruby/bin/ruby [root@dev_test_redis ~]# 2.尝试检查redis集群 检查其中一个节点即可 [r
阅读全文
摘要:环境:OS:Centos 7redis:4.0.14 1.当前集群的状态 [root@dev_test_redis redis_6384]# /usr/local/services/redis/bin/redis-cli -c -h 192.168.1.84 -p 6379 -a hxl2018 W
阅读全文
摘要:环境:OS:Centos 7redis:4.0.14 1.当前集群的状态 [root@dev_test_redis redis_6384]# /usr/local/services/redis/bin/redis-cli -c -h 192.168.1.84 -p 6379 -a hxl2018 W
阅读全文
摘要:环境:OS:Centos 7redis:4.0.14 1.新建集群模拟写入数据 [root@dev_test_redis conf]# /usr/local/services/redis/bin/redis-cli -c -h 192.168.1.84 -p 6379 -a hxl2018 Warn
阅读全文
摘要:环境OS:Centos 7db:4.0.14角色 机器ip主 192.168.1.84 6379从 192.168.1.84 6380主 192.168.1.84 6381从 192.168.1.84 6382主 192.168.1.84 6383从 192.168.1.84 6384 1.下载安装
阅读全文
摘要:环境:OS:Centos 7redis:7.4.0 1.准备redis配置文件 [root@localhost redisconf]# more redis.conf ##daemonize yes dir ./ port 6379 tcp-backlog 511 timeout 300 tcp-k
阅读全文
摘要:脚本 [root@localhost scripts]# more get_latency_history.sh #!/bin/bash timeout 5 /usr/local/services/redis/bin/redis-cli -u redis://123@192.168.1.14:637
阅读全文
摘要:环境: OS:Centos 7 RedisShake:v4.2.2 1.下载地址 https://github.com/tair-opensource/RedisShake/releases/download/v4.2.2/redis-shake-linux-amd64.tar.gz 2.解压安装
阅读全文
摘要:环境: 3主3从部署的集群 973:M 21 Nov 19:19:30.083 * Ready to accept connections 973:M 21 Nov 19:19:30.204 * Slave 192.168.10.1:9002 asks for synchronization 973
阅读全文
浙公网安备 33010602011771号