文件名称:redis cluster配置文件
文件大小:17KB
文件格式:RAR
更新时间:2021-09-01 08:38:28
redis cluster
redis cluster配置文件,配置后的参考; 创建目录: mkdir -p /etc/redis-cluster mkdir -p /var/log/redis mkdir -p /var/redis/7001 mkdir -p /var/redis/7002 拷贝配置文件: cp /usr/local/redis-3.2.8/redis.conf /etc/redis/7001.conf cp /usr/local/redis-3.2.8/redis.conf /etc/redis/7001.conf 修改/etc/redis/7001.conf: cluster-enabled yes cluster-config-file /etc/redis-cluster/node-7001.conf cluster-node-timeout 15000 bind 192.168.43.170 protected-mode no port 7001 daemonize yes pidfile /var/run/redis_7001.pid logfile "/var/log/redis/7001.log" dir /var/redis/7001 appendonly yes
【文件预览】:
redis_7001
7001.conf