Setup Redis Cluster - nimbo3/Keenbo GitHub Wiki
wget http://download.redis.io/releases/redis-5.0.5.tar.gz
tar -xvf redis-5.0.5.tar.gz
cd redis-5.0.5
sudo apt install make gcc libc6-dev tcl
make
cd src
make install
cd ..
make test
and add following lines in end of /etc/redis/redis.conf
file:
# bind 127.0.0.1 # comment this line in default it is not
cluster-enabled yes # uncomment this line
cluster-config-file nodes-6379.conf # uncomment this line
cluster-node-timeout 15000 # uncomment this line
protected-mode no # change value to no, default is yes
and then run:
redis-server redis.conf