Skip to content

Instantly share code, notes, and snippets.

@crivotz
Last active July 29, 2019 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crivotz/8ee9eb58d7765759b7123c50531fd21c to your computer and use it in GitHub Desktop.
Save crivotz/8ee9eb58d7765759b7123c50531fd21c to your computer and use it in GitHub Desktop.
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