Skip to content

Instantly share code, notes, and snippets.

@pmeinhardt
Last active July 9, 2016 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmeinhardt/893f9ca32b9baf8794cda08c27001c03 to your computer and use it in GitHub Desktop.
Save pmeinhardt/893f9ca32b9baf8794cda08c27001c03 to your computer and use it in GitHub Desktop.
Raspberry Pi Setup (using Raspbian Jessie Lite)
# RASPBIAN JESSIE LITE
#
# Version: May 2016
# Release date: 2016-05-27
# Kernel version: 4.4
#
# https://www.raspberrypi.org/downloads/raspbian/
# boot and login (default username: pi, password: raspberry)
# https://www.raspberrypi.org/documentation/configuration/raspi-config.md
#
# 1. expand filesystem to use the complete sd card
# 2. change default password
# 3. set preferred hostname
#
# optionally configure anything else according to preference,
# e.g. disable "wait for network on boot", "internationalization options",
# "timezone", "change wifi country", …
sudo raspi-config
# set up network connection (e.g. using wpa_cli)
wpa_cli
# > add_network
# 0
# > set_network 0 ssid "NETWORK-SSID"
# > set_network 0 psk "PASSPHRASE"
# > enable_network 0
# > save_config
# > quit
# note that you can also edit `/etc/wpa_supplicant/wpa_supplicant.conf` directly
# quickly reboot, if the changes are not picked up
# remember to use your changed password (see raspi-config step above)
sudo reboot
# update system
sudo apt-get update
sudo apt-get upgrade
# install essentials
sudo apt-get install vim git
# change default shell if desired
sudo apt-get install zsh
chsh -s $(which zsh)
sudo reboot
# change system config according to your taste
git clone https://github.com/pmeinhardt/huckleberry.git ~/.dotfiles
cd ~/.dotfiles
./script/bootstrap
# good to go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment