Filip Pytloun | 3cd3d90 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | # Redis
|
| 2 |
|
| 3 | key value storage
|
| 4 |
|
| 5 | ## Sample pillars
|
| 6 |
|
| 7 | Redis localhost server
|
| 8 |
|
| 9 | redis:
|
| 10 | server:
|
| 11 | enabled: true
|
| 12 | bind:
|
| 13 | address: 127.0.0.1
|
| 14 | port: 6379
|
| 15 | protocol: tcp
|
| 16 |
|
| 17 | Redis world open
|
| 18 |
|
| 19 | redis:
|
| 20 | server:
|
| 21 | enabled: true
|
| 22 | bind:
|
| 23 | address: 0.0.0.0
|
| 24 | port: 6379
|
| 25 | protocol: tcp
|
| 26 |
|
| 27 | Redis modes
|
| 28 |
|
| 29 | redis:
|
| 30 | server:
|
| 31 | enabled: true
|
| 32 | appendfsync: no | everysec | always
|
| 33 |
|
| 34 | ## Command usage
|
| 35 |
|
| 36 | Removes data from your connection's CURRENT database.
|
| 37 |
|
| 38 | > redis-cli FLUSHDB
|
| 39 |
|
| 40 | Removes data from ALL databases.
|
| 41 |
|
| 42 | > redis-cli FLUSHALL
|
| 43 |
|
| 44 | ## Read more
|
| 45 |
|
| 46 | * http://redis.io/topics/admin
|
| 47 | * http://redis.io/topics/quickstart
|
| 48 | * http://redis.io/topics/persistence
|