first, to build a Redis environment
1, Link: Http://pan.baidu.com/s/1boKAzzL Password: sh2r
2, do not repeat: the implementation of Redis-server, and then execute REDIS-CLI can, Redis environment is built.
second, graphical interface
third, the construction of master-slave replication
1, first to create a service to master. Extracted path: F:\linux\redis\redis6379
CD F:CD \linux\redis\redis6379 // Create a service for master that starts automatically each time the machine starts. redis-server--service-install redis.windows.conf--loglevel verbose --service-name redis-master
2. Check the service.
3, Create child nodes (slave1/slave2/slave2), copy three copies, I test only one copy.
Note: Enter the directory for SLAVE1 (redis6380), open the Redis.windows directory. Find salveof 127.0.0.1 6379. This means: Become a child node of 127.0.0.1 6379.
4. Create a service for slave in turn.
Redis-server--service-install redis.windows.conf--loglevel verbose --service-name redis-slave6380
5, check whether to build a master-slave relationship success.
6. Or use the info command
Reference: http://www.cnblogs.com/jellyzhang/p/5812015.html
Redis environment build, create services, build master-slave copy-windows version