Redis Cluster 集群搭建与使用

下载 & 安装 Redis $ wget http://download.redis.io/releases/redis-4.0.9.tar.gz $ tar xzf redis-4.0.9.tar.gz $ cd redis-4.0.9 $ make 修改 redis 配置文件 cp redis.conf redis-6379.conf bind 127.0.0.1 protected-mode no port 6379 pidfile /var/run/redis_6379.pid cluster-enabled yes cluster-config-file nodes-6379.conf cluster-node-timeout 15000 启动 redis 服务 src/redis-server…

 706 total views

Published