Redis installation and master-slave configuration