Redis on a Raspberry Pi - cjus/hydra-cluster GitHub Wiki
$ sudo apt-get update
$ sudo apt-get install redis-server
The redis configuration file is stored in /etc/redis
.
Redis has a ton of potential configuration changes. I made the following changes in my redis config:
bind 192.168.1.10
maxmemory 512mb
The bind command above tells redis to listen on the .10 address. This allows other cluster nodes to find Redis at that location. To connect to redis later make sure to use the -h parameter to specify the host.
$ redis-cli -h 192.168.1.10