Skip to content

Instantly share code, notes, and snippets.

@he9lin
Forked from ryanb/chef_solo_bootstrap.sh
Last active December 15, 2015 01:29

Revisions

  1. he9lin revised this gist Jul 9, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -9,5 +9,6 @@ cd ruby-2.1.4/
    ./configure --prefix=/usr/local --with-readline-dir=/usr/include/readline
    make
    make install
    gem install chef ruby-shadow bundler foreman berkshelf --no-ri --no-rdoc
    gem install chef -v 11.12.4
    gem install ruby-shadow bundler --no-ri --no-rdoc
    ```
  2. he9lin revised this gist Apr 17, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -9,5 +9,5 @@ cd ruby-2.1.4/
    ./configure --prefix=/usr/local --with-readline-dir=/usr/include/readline
    make
    make install
    gem install chef ruby-shadow bundler foreman --no-ri --no-rdoc
    gem install chef ruby-shadow bundler foreman berkshelf --no-ri --no-rdoc
    ```
  3. he9lin revised this gist Nov 3, 2014. 1 changed file with 8 additions and 7 deletions.
    15 changes: 8 additions & 7 deletions chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,13 @@
    ```
    #!/usr/bin/env bash
    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev:i386 libyaml-dev libxslt-dev git-core
    apt-get -y install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev
    apt-get -y install build-essential zlib1g-dev libssl-dev libyaml-dev libxslt-dev git-core autoconf bison libssl-dev libreadline6-dev libncurses5-dev
    cd /tmp
    wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz
    tar -xzf ruby-2.0.0-p353.tar.gz
    cd ruby-2.0.0-p353/
    ./configure --prefix=/usr/local
    wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz
    tar -xzf ruby-2.1.4.tar.gz
    cd ruby-2.1.4/
    ./configure --prefix=/usr/local --with-readline-dir=/usr/include/readline
    make
    make install
    gem install chef ruby-shadow bundler foreman --no-ri --no-rdoc
    gem install chef ruby-shadow bundler foreman --no-ri --no-rdoc
    ```
  4. he9lin revised this gist Oct 16, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,7 @@
    #!/usr/bin/env bash
    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev:i386 libyaml-dev libxslt-dev git-core
    apt-get -y install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev
    cd /tmp
    wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz
    tar -xzf ruby-2.0.0-p353.tar.gz
  5. he9lin revised this gist Jun 3, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,4 @@ cd ruby-2.0.0-p353/
    ./configure --prefix=/usr/local
    make
    make install
    gem install chef ruby-shadow berkshelf bundler foreman --no-ri --no-rdoc
    gem install chef ruby-shadow bundler foreman --no-ri --no-rdoc
  6. he9lin revised this gist Jun 3, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@
    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev:i386 libyaml-dev libxslt-dev git-core
    cd /tmp
    wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.bz2
    tar -xzf ruby-2.0.0-p353.tar.gz2
    wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz
    tar -xzf ruby-2.0.0-p353.tar.gz
    cd ruby-2.0.0-p353/
    ./configure --prefix=/usr/local
    make
  7. he9lin revised this gist Jun 3, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev:i386 libyaml-dev libxslt-dev git-core
    cd /tmp
    wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.bz2
    tar -xzf ruby-2.0.0-p353.tar.gz
    tar -xzf ruby-2.0.0-p353.tar.gz2
    cd ruby-2.0.0-p353/
    ./configure --prefix=/usr/local
    make
  8. he9lin revised this gist Jun 3, 2014. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -2,9 +2,9 @@
    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev:i386 libyaml-dev libxslt-dev git-core
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
    tar -xvzf ruby-1.9.3-p125.tar.gz
    cd ruby-1.9.3-p125/
    wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.bz2
    tar -xzf ruby-2.0.0-p353.tar.gz
    cd ruby-2.0.0-p353/
    ./configure --prefix=/usr/local
    make
    make install
  9. he9lin revised this gist Jan 19, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,4 @@ cd ruby-1.9.3-p125/
    ./configure --prefix=/usr/local
    make
    make install
    gem install chef ruby-shadow berkshelf bundler --no-ri --no-rdoc
    gem install chef ruby-shadow berkshelf bundler foreman --no-ri --no-rdoc
  10. he9lin revised this gist Jan 19, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,4 @@ cd ruby-1.9.3-p125/
    ./configure --prefix=/usr/local
    make
    make install
    gem install chef ruby-shadow berkshelf --no-ri --no-rdoc
    gem install chef ruby-shadow berkshelf bundler --no-ri --no-rdoc
  11. he9lin revised this gist Jan 19, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/usr/bin/env bash
    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev:i386 libyaml-dev git-core
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev:i386 libyaml-dev libxslt-dev git-core
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
    tar -xvzf ruby-1.9.3-p125.tar.gz
  12. he9lin revised this gist Jan 19, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/usr/bin/env bash
    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev git-core
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev:i386 libyaml-dev git-core
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
    tar -xvzf ruby-1.9.3-p125.tar.gz
  13. he9lin revised this gist Mar 17, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    #!/usr/bin/env bash
    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev git-core
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
    tar -xvzf ruby-1.9.3-p125.tar.gz
  14. he9lin revised this gist Mar 17, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,4 @@ cd ruby-1.9.3-p125/
    ./configure --prefix=/usr/local
    make
    make install
    gem install chef ruby-shadow --no-ri --no-rdoc
    gem install chef ruby-shadow berkshelf --no-ri --no-rdoc
  15. @ryanb ryanb revised this gist Apr 7, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -8,4 +8,4 @@ cd ruby-1.9.3-p125/
    ./configure --prefix=/usr/local
    make
    make install
    gem install chef --no-ri --no-rdoc
    gem install chef ruby-shadow --no-ri --no-rdoc
  16. @ryanb ryanb revised this gist Apr 5, 2012. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions chef_solo_bootstrap.sh
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,11 @@
    #!/usr/bin/env bash

    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
    tar -xvzf ruby-1.9.3-p125.tar.gz
    cd ruby-1.9.3-p125/
    ./configure --prefix=/usr/local
    rm -rf ruby-1.9.3-p125 ruby-1.9.3-p125
    make
    make install
    gem install chef --no-ri --no-rdoc
  17. @ryanb ryanb renamed this gist Apr 5, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  18. @ryanb ryanb created this gist Apr 5, 2012.
    13 changes: 13 additions & 0 deletions chef_solo_bootstrap.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #!/usr/bin/env bash

    apt-get -y update
    apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev
    cd /tmp
    wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
    tar -xvzf ruby-1.9.3-p125.tar.gz
    cd ruby-1.9.3-p125/
    ./configure --prefix=/usr/local
    rm -rf ruby-1.9.3-p125 ruby-1.9.3-p125
    make
    make install
    gem install chef --no-ri --no-rdoc