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.d/filename.conf (depending on your distro). They can be applied immediately with sudo sysctl -p /etc/sysctl.d/filename.conf. I’ve applied most of these to hundreds of machines and never had an issue. That said, test in non-production first! I run the same settings across pretty much every …

Original Article Can Be Found Here:

Improved default settings for Linux machines : @AlTobey Writes

Also published on Medium.