Skip to content

Instantly share code, notes, and snippets.

@rick

rick/rebuild.md Secret

Last active August 29, 2015 14:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rick/8fc9ffb77b380c4c1c1e to your computer and use it in GitHub Desktop.
Save rick/8fc9ffb77b380c4c1c1e to your computer and use it in GitHub Desktop.
building a laptop from scratch

Rebuilding a laptop

  • make a time machine backup
  • restart computer
  • hold down CMD-R while booting, go into OS recovery
  • wipe drive with Disk Utility, if necessary
  • install OS from network
  • upgrade to Yosemite, or whatever, if necessary
  • enable full disk encryption
  • install XCode from Software Update
  • open XCode, go to Preferences -> Downloads, install command-line tools
  • ssh-keygen
  • register new SSH key on your github account
  • sudo mkdir -p /opt/boxen
  • sudo chown ${USER}:staff /opt/boxen
  • git clone git@github.com:websages/boxen.git /opt/boxen/repo
  • cd /opt/boxen/repo
  • ./script/boxen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment