Created
July 14, 2013 20:44
-
-
Save hvasconcelos/5995933 to your computer and use it in GitHub Desktop.
Chef Solo Bootstrap CentOS 6.4
This file contains 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 | |
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