Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 1.44 KB

Raspberry_Pi_Setup.md

File metadata and controls

57 lines (44 loc) · 1.44 KB

Raspberry Pi Setup

  1. Install Raspbian

    • boot & hold shift (boots to recovery mode).
    • Use dialog to install new image
  2. Set default editor

update-alternatives --set editor /usr/bin/vim.tiny
  1. Set up wifi (using wpa_supplicant)

  2. Upgrade OS

sudo apt-get update
sudo apt-get dist-upgrade

See Also: https://www.raspberrypi.org/documentation/raspbian/updating.md

  1. Reboot Pi
sudo shutdown -r now
  1. disable lightdm
sudo systemctl set-default multi-user.target

See Also: https://raspberrypi.stackexchange.com/questions/31439/trying-to-turn-off-x11-in-jessie

  1. Remove x11 and dependencies
sudo apt-get remove --auto-remove --purge 'libx11-.*'
sudo apt-get autoremove --purge #Repeat until no orphans remain.

See https://raspberrypi.stackexchange.com/questions/4745/how-to-uninstall-x-server-and-desktop-manager-when-running-as-headless-server

  1. 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

  1. Add users See https://www.raspberrypi.org/documentation/linux/usage/users.md

To add sudoers instead Use

sudo visudo -f /etc/sudoers.d/sudoers