Skip to content

Instantly share code, notes, and snippets.

@col
Created April 26, 2019 09:57
Show Gist options
  • Save col/efd138227e282d876d319c6560bfba9c to your computer and use it in GitHub Desktop.
Save col/efd138227e282d876d319c6560bfba9c to your computer and use it in GitHub Desktop.
# 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