Last active
August 29, 2015 14:21
-
-
Save ponchik/36ae2c1fb1284b385adb to your computer and use it in GitHub Desktop.
Ubuntu and chef setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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