Configuring Raspian
Increase root partition/disk size (BEFORE first boot)
cp -p 2017-09-07-raspbian-stretch-lite.img sda.img dd if=/dev/zero of=/dev/sda.img bs=1 count=1 seek=50G
rasp-config
Locale = en_AU ISO-8859-1
Default locale: en_AU
Timezone = Australia/Sydney
Keyboard = Generic 104 key PC
English (US)
Accept other defaults
Enable SSH
Reboot
Install ntp, configure, enable and start
cd /etc/sysctl.d echo "vm.swappiness = 95" > swappiness.conf
Add a 5G swap partition
Reboot