Created
April 26, 2019 09:57
-
-
Save col/efd138227e282d876d319c6560bfba9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Redis Notes | |
*Config Path:* `/etc/redis/redis.conf` | |
Configure Slave: | |
``` | |
redis-cli -h <host or IP> SLAVEOF <master ip> 6379 | |
``` | |
Become Master: | |
``` | |
redis-cli -h <host or IP> SLAVEOF NO ONE | |
``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment