Created
May 1, 2014 21:09
-
-
Save kornypoet/a813d26de2c45d1a760d to your computer and use it in GitHub Desktop.
Rhel ami notes
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 | |
| # | |
| # Cookbook adjustments for RHEL | |
| # Route53: in order for fog 1.9.0 to install, nokogiri needs libxslt and libxslt-devel installed | |
| # PackageSet: many overlapping, or dependent packages here | |
| # Runit: need to install runit from a user-built rpm, also need to create /etc/sv | |
| # Maven: maven3 recipe does not correctly link install | |
| # Elasticsearch: cloud-aws plugin is outdated; fuckin' volumes. How do they work? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment