Skip to content

Instantly share code, notes, and snippets.

@crivotz
Last active Jul 29, 2019
Embed
What would you like to do?
Redis installation on Debian Stretch
sudo apt-get install redis-server
sudo systemctl enable redis-server.service
sudo vim /etc/redis/redis.conf

set

maxmemory 256mb
maxmemory-policy allkeys-lru

Restart

sudo systemctl restart redis-server.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment