Differences
This shows you the differences between two versions of the page.
linux_wiki:redis [2018/09/17 22:06] billdozor created |
linux_wiki:redis [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Redis ====== | ||
- | |||
- | **General Information** | ||
- | |||
- | Redis is "an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker." | ||
- | |||
- | Official Site: https:// | ||
- | |||
- | **Checklist** | ||
- | * Enterprise Linux 7 | ||
- | |||
- | ---- | ||
- | |||
- | ====== Server: Install ====== | ||
- | |||
- | [[linux_wiki: | ||
- | |||
- | \\ | ||
- | Install redis | ||
- | <code bash> | ||
- | yum install redis | ||
- | </ | ||
- | |||
- | \\ | ||
- | Start and Enable | ||
- | <code bash> | ||
- | systemctl enable redis | ||
- | systemctl start redis | ||
- | </ | ||
- | |||
- | \\ | ||
- | Verify service is available locally | ||
- | <code bash> | ||
- | [root@server01 ~]# redis-cli | ||
- | 127.0.0.1: | ||
- | </ | ||
- | * By default, redis will listen on localhost (127.0.0.1) only | ||
- | |||
- | ---- | ||
- | |||
- | ====== Server: Configure ====== | ||
- | |||
- | Different Redis server options to configure that are not defaults. | ||
- | |||
- | \\ | ||
- | **The config file is located at**: / | ||
- | |||
- | ---- | ||
- | |||
- | ===== Bind Interface ===== | ||
- | |||
- | The default bind/listen interface is localhost (127.0.0.1). | ||
- | |||
- | If you would like clients to be able to connect over the network, you will need to change this. | ||
- | * **Caution**: | ||
- | |||
- | \\ | ||
- | Change the bind interface | ||
- | <code bash> | ||
- | bind 192.168.1.100 | ||
- | </ | ||
- | |||
- | ---- | ||