Last active
December 16, 2015 23:59
-
-
Save zaininnari/5517428 to your computer and use it in GitHub Desktop.
# install chef # chef だけが欲しい場合、下記の方がはやい
# これを実行すると chef 専用の ruby がインストールされる
# http://www.opscode.com/chef/install/
curl -L https://www.opscode.com/chef/install.sh | bash
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
#!/bin/bash | |
# https://rvm.io/rvm/install | |
curl -L https://get.rvm.io | bash -s stable | |
# rvmコマンドを使用可能に | |
source ~/.bash_profile | |
# ruby 1.9.3 のコンパイルに必要 | |
yum install --enablerepo=epel libyaml-devel -y | |
yum install readline-devel zlib-devel libffi-devel openssl-devel libxml2-devel libxslt-devel -y | |
# ruby 2.0.0 はp0のため、直前の安定板を使用 | |
rvm install 1.9.3 | |
# インストール後、そのバージョンをデフォルトに設定 | |
rvm use 1.9.3 --default | |
# バージョンを表示 | |
ruby -v && gem -v | |
# knife-solo インストール | |
gem install knife-solo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment