![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
redis
viqiang1991
这个作者很懒,什么都没留下…
展开
-
redis集群重启
1.在redis实例目录下,删除缓存文件,其他redis实例操作相同cd /usr/local/redis-cluster/redis-7004/binrm -rf dump.rdbrm -rf nodes.conf2.重启redis实例,其他redis实例操作相同cd /usr/local/redis-cluster/redis-7001/bin/ && ./redis-server redis.conf3.重新建立集群cd /usr/local/downlo原创 2020-09-05 11:03:02 · 634 阅读 · 0 评论 -
centos7安装redis
一、安装redis第一步:yum安装gcc依赖yum install gcc第二步:下载redis安装包wget http://download.redis.io/releases/redis-4.0.6.tar.gz第三步:解压压缩包tar -zxvf redis-4.0.6.tar.gz第四步:跳转到redis解压目录下cd redis-4.0.6第五步...原创 2020-02-06 15:46:07 · 79 阅读 · 0 评论 -
Either the node already knows other nodes (check with CLUSTER NODES) or contains some key in databas
[ERR] Node 192.168.68.134:7000 is not empty. Either the node already knows other nodes (check with CLUSTER NODES) or contains some key in database 0.解决办法:1.把多台服务器上的appendonly.aof, dump.rdb, nodes70...原创 2019-12-30 21:55:56 · 1592 阅读 · 1 评论 -
通过RVM方式安装管理Ruby
Ruby是一种动态的,面向对象的编程语言,专注于简单性和生产力。RVM(Ruby Version Manager)是一个命令行工具,可以轻松的安装、管理Ruby环境。当前系统环境Centos7.x一、安装rvm1.安装依赖yum install gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libff...原创 2019-12-30 12:16:11 · 765 阅读 · 0 评论