-
Install Raspbian
- boot & hold shift (boots to recovery mode).
- Use dialog to install new image
-
Set default editor
update-alternatives --set editor /usr/bin/vim.tiny
-
Set up wifi (using wpa_supplicant)
-
Upgrade OS
sudo apt-get update
sudo apt-get dist-upgrade
See Also: https://www.raspberrypi.org/documentation/raspbian/updating.md
- Reboot Pi
sudo shutdown -r now
- disable lightdm
sudo systemctl set-default multi-user.target
See Also: https://raspberrypi.stackexchange.com/questions/31439/trying-to-turn-off-x11-in-jessie
- Remove x11 and dependencies
sudo apt-get remove --auto-remove --purge 'libx11-.*'
sudo apt-get autoremove --purge #Repeat until no orphans remain.
- Install go Go to the Go download site and download the armv6 binary. Follow the installation instructions
tar -C /usr/local -xzf <go tar.gz download>
add /usr/local/go/bin to your PATH
To add sudoers instead Use
sudo visudo -f /etc/sudoers.d/sudoers