February 2018
Intermediate to advanced
382 pages
11h 33m
English
You need to finish the installation of Redis Server as we described in the Downloading and installing Redis recipe in Chapter 1, Getting Started with Redis.
Prepare a configuration file for the Redis slave server. You can make a copy of redis.conf and rename it redis-slave.conf, then make the following changes:
port 6380 pidfile /var/run/redis_6380.pid dir ./slave slaveof 127.0.0.1 6379
Don't forget to create /redis/slave directory if it doesn't exist:
$mkdir -p /redis/slave
Read now
Unlock full access