1, redis two folders to copy, paste in the same directory
2, respectively, 6380 and 6381 to modify redis.window.conf file folders
port: 6380,6381 were changed
Were increased: slaveof 127.0.0.1 6379
3, respectively, execute the following command in 6380 and 6381 catalog
redis-server --service-install redis.windows.conf --maxmemory 200m --service-name redis6380 (6381 into the 6381 catalog)
4, master-slave configuration verification
①, the server, start the primary server, then the server promoter, you will find the master server record
②, the client, the client can obtain data added to the main client, but can not write (if the master password, slave need authentication password: author password)