-
-
Save identityclash/d3d8d707d15068796f23 to your computer and use it in GitHub Desktop.
Redis on Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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