Created
January 24, 2012 04:48
-
-
Save willnet/1667871 to your computer and use it in GitHub Desktop.
ec2 amazon instance に chef を導入するまでの手順
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
sudo yum install emacs git zsh gcc make readline readline-devel libyaml libyaml-devel zlib zlib-devel openssl openssl-devel | |
mkdir src | |
cd src | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz | |
tar zxvf ruby-1.9.3-p0.tar.gz | |
cd ruby-1.9.3-p0 | |
./configure | |
make | |
sudo make install | |
cd /home/ec2-user/src/ruby-1.9.3-p0/ext/openssl | |
ruby extconf.rb | |
make | |
sudo make install | |
echo 'export PATH=/usr/local/bin:$PATH' >> .zshrc.mine | |
cat <<EOF > "$HOME/.emacs" | |
(define-key global-map "\C-h" 'delete-backward-char) | |
(define-key isearch-mode-map "\C-h" 'isearch-delete-char) | |
EOF | |
sudo /usr/local/bin/gem install chef --no-rdoc --no-ri | |
git clone https://github.com/opscode/chef-repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment