Last active
August 29, 2015 14:03
-
-
Save kornypoet/0d04e0cc2b4d24820851 to your computer and use it in GitHub Desktop.
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
| # To prepare for AMI: | |
| # | |
| # Install epel repo | |
| # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
| # sudo rpm -ivh epel-release-6-8.noarch.rpm | |
| # rm epel-release-6-8.noarch.rpm | |
| # | |
| # Install xfsprogs by hand | |
| # wget http://mirror.centos.org/centos/6.5/os/x86_64/Packages/xfsprogs-3.1.1-14.el6.x86_64.rpm | |
| # wget http://mirror.centos.org/centos/6.5/os/x86_64/Packages/xfsprogs-devel-3.1.1-14.el6.x86_64.rpm | |
| # sudo yum install -y xfsprogs-* | |
| # rm xfsprogs-* | |
| # | |
| # Install bare minimum ruby dependencies | |
| # sudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison glibc | |
| # | |
| # Install Ruby | |
| # wget http://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p545.tar.gz | |
| # tar -xzvf ruby-1.9.3-p545.tar.gz | |
| # cd ruby-1.9.3-p545 | |
| # ./configure --prefix=/usr/local --enable-shared --disable-install-doc --with-opt-dir=/usr/lib64 --with-openssl-dir=/usr/include/openssl | |
| # make | |
| # sudo make install | |
| # sudo rm -r ruby-* | |
| # | |
| # Install chef gems | |
| # sudo gem install bundler chef --no-ri --no-rdoc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment