Skip to content

Instantly share code, notes, and snippets.

@unyo
Last active June 24, 2018 21:38
Show Gist options
  • Save unyo/6386174b54340350e2ffec68ce51c57e to your computer and use it in GitHub Desktop.
Save unyo/6386174b54340350e2ffec68ce51c57e to your computer and use it in GitHub Desktop.
initiate_unix.sh
# setup pi SD card
# https://medium.com/@maheshsenni/setting-up-a-raspberry-pi-without-keyboard-and-mouse-headless-9359e0926807
# dl configs
wget https://gist.githubusercontent.com/unyo/284cbbd269cde81f85b9e4162a6b6128/raw/f1cb2ec4dc4bb319124cb9f58f42ded7bcf5a4bf/.vimrc
wget https://gist.githubusercontent.com/unyo/bfcdfc81a66d2101c67aced713f5dedd/raw/ce47e6d18efb7130ff3374cce8a75ebe1e60c4d5/.profile
# update
sudo apt-get update && sudo apt-get dist-upgrade # do this regularly
# install apps
sudo apt-get install vim rvm docker docker-compose python node nginx
# rasberry pi only
sudo raspi-config
## enable desktop
## enable VNC
## config VNC
## https://raspberrypi.stackexchange.com/a/79626/87851
## connect to pi using OSX "screen sharing" and "<HOSTNAME>.local" eg "rasberrypi.local"
## update apps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment