Skip to content

Instantly share code, notes, and snippets.

@alejandro
Created August 22, 2011 22:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alejandro/1163771 to your computer and use it in GitHub Desktop.
Save alejandro/1163771 to your computer and use it in GitHub Desktop.
Getting ready for a developer machine. Ubuntu
#!/usr/bin/env bash
echo "Checking for SSH key, generating one if it exists ..."
[[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa
echo "Copying public key to clipboard. Paste it into your Github account ..."
[[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub | xclip
open https://github.com/account/ssh
echo "Using apt-get to install OS packages so let's update it first ..."
sudo apt-get update -y
echo "Installing OS packages. You will be prompted for your password ..."
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libxslt-dev autoconf libc6-dev -y
echo "Install Redis, a key-value database ..."
sudo apt-get install redis-server -y
echo "Installing ack, a good way to search through files ..."
sudo apt-get install ack-grep -y
echo "Install couchdb..."
sudo apt-get install couchdb -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment