Redis master and slave
redis master:
Two machines:
master(192.168.141.188)
slave (192.168.141.187)
Install and start redis as described above
master machine configuration file does not need to be moved
slave machine configuration file
slaveof 192.168.141.188 6379
masterauth passwd //if the master has set a password, add this line
Start master and slave separately