Skip to content

Instantly share code, notes, and snippets.

@genediazjr
Last active November 11, 2015 06:07
Show Gist options
  • Save genediazjr/8685ad0f737de6b56799 to your computer and use it in GitHub Desktop.
Save genediazjr/8685ad0f737de6b56799 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