Install raspbian, set up your users however you would like, so long as you have sudo access on the user you are running this with. You probably want to resize the image so it fills the SD card as well.
- Copy this entire gist to your raspberry pi
- Do
chmod +x step1.sh step2.sh iptables.sh
in the gist folder (so that - Run step1.sh a) This script does a few things - it first updates your raspberry pi, then it installs a few needed utilities, then it upgrades the firmware on your raspberry pi