Skip to content

Instantly share code, notes, and snippets.

@hvasconcelos
Created July 14, 2013 20:44
Show Gist options
  • Save hvasconcelos/5995933 to your computer and use it in GitHub Desktop.
Save hvasconcelos/5995933 to your computer and use it in GitHub Desktop.
Chef Solo Bootstrap CentOS 6.4
#!/usr/bin/env bash
yum install -y gcc-c++ patch \
readline readline-devel \
zlib zlib-devel libyaml-devel \
libffi-devel openssl-devel make \
bzip2 autoconf automake libtool \
bison iconv-devel libyaml
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
tar -zxvf ruby-2.0.0-p247.tar.gz
cd ruby-2.0.0-p247
./configure --prefix=/usr/local
make
make install
gem install chef ruby-shadow --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment