Skip to content

Instantly share code, notes, and snippets.

@ponchik
Last active August 29, 2015 14:21
Show Gist options
  • Save ponchik/36ae2c1fb1284b385adb to your computer and use it in GitHub Desktop.
Save ponchik/36ae2c1fb1284b385adb to your computer and use it in GitHub Desktop.
Ubuntu and chef setup
#!/usr/bin/env bash
sudo \curl -sSL https://get.rvm.io | bash
bash -l
rvm install ruby-2.2.2
# rvm --default use rbx-head
gem install chef --no-ri --no-rdoc
sudo apt-get install git -y
sudo mkdir /var/chef
sudo chown dimon /var/chef
cd /var/chef
mkdir ubuntu-web ubuntu-web.git
cd ubuntu-web.git
git init --bare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment