This is an old revision of the document!
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://redis.io/
Checklist
- Enterprise Linux 7
Server: Install
Install redis
yum install redis
Start and Enable
systemctl enable redis
systemctl start redis
Verify service is available locally
[root@server01 ~]# redis-cli 127.0.0.1:6379> exit
- 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: /etc/redis.conf
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: There is no security/encryption by default, but a number of protection measures to take if changing the bind interface. See the security section.
Change the bind interface
bind 192.168.1.100