Skip to content

Instantly share code, notes, and snippets.

@dalibor
Created September 7, 2012 12:51
Show Gist options
  • Save dalibor/3666012 to your computer and use it in GitHub Desktop.
Save dalibor/3666012 to your computer and use it in GitHub Desktop.
Vagrant Pairing Workstation - Ubuntu 12.04 with rbenv, git, tmux, ack-grep, postgresql, sqlite3, nodejs and dependencies
#####
## Host machine
#####
# install virtual box
sudo apt-get install virtualbox
# install vagrant and setup vagrant box with Ubuntu 12.04
gem install vagrant
vagrant box add pairing_workstation http://files.vagrantup.com/precise32.box
# vagrant box add pairing_workstation ~/Downloads/precise32.box
mkdir pairing_workstation && cd pairing_workstation
vagrant init pairing_workstation
vagrant up
vagrant ssh
#####
## Vagrant box
#####
# install curl
sudo apt-get install curl -y
# install rbenv, ruby, git, tmux, ack-grep, postgresql, sqlite3, nodejs and dependencies
curl https://raw.github.com/dalibor/pairing_workstation/master/ubuntu_12_04_mix.sh | bash && \
curl https://raw.github.com/dalibor/pairing_workstation/master/rbenv.sh | bash && \
source ~/.bash_profile
# setup dotfiles
curl https://raw.github.com/dalibor/vimfiles/master/install.sh | bash
# setup vimfiles
curl https://raw.github.com/dalibor/dotfiles/master/install.sh | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment