Skip to content

Instantly share code, notes, and snippets.

@identityclash
Forked from genediazjr/debian-redis.sh
Created November 11, 2015 06:07
Show Gist options
  • Save identityclash/d3d8d707d15068796f23 to your computer and use it in GitHub Desktop.
Save identityclash/d3d8d707d15068796f23 to your computer and use it in GitHub Desktop.
Redis on Debian
apt-get install vim redis-server
vim /etc/redis/redis.conf
-----------------------------------------------------------------------------
bind 0.0.0.0
-----------------------------------------------------------------------------
appendonly yes
-----------------------------------------------------------------------------
vim /etc/sysctl.conf
-----------------------------------------------------------------------------
vm.overcommit_memory = 1
-----------------------------------------------------------------------------
# reboot the box
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment