Skip to content

Instantly share code, notes, and snippets.

@brycejohnston
brycejohnston / debian_rails_prod.md
Last active October 12, 2019 19:05
Debian 9 Rails Prod Setup

Update system and install prerequisite packages

apt-get update && apt-get dist-upgrade
apt-get install open-vm-tools # VMware VMs Only
sh -c 'echo vm.swappiness=5 > /etc/sysctl.conf' # Prod Env 
reboot

Some of these packages may already be installed