I get asked about my default settings for Linux fairly frequently and was writing this in an email and decided to post it for broader use. If you have better recommendations, by all means please send me a pull request. The Edit button at the top of this page will get you there. There are a couple groups of settings below. Most of the settings below should end up in /etc/sysctl.conf or /etc/sysctl.