Chef-solo-2
- Category: 電腦相關
- Last Updated: Wednesday, 22 April 2015 16:28
- Published: Thursday, 26 March 2015 15:41
- Written by sam
安裝一下,操作chef的利器Knife-Solo
一切重新開始,下了新的IMAGE
開機後,連入
先從安裝RUBY開始(記得要2.0最少)
所以需要手動一下
sudo apt-get -y update
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p481.tar.gz
tar -xvzf ruby-2.0.0-p481.tar.gz
cd ruby-2.0.0-p481/
./configure --prefix=/usr/local
make && sudo make install
check version
ruby -v
ruby 2.0.0p481 (2014-05-08 revision 45883) [x86_64-linux]
Read more: Chef-solo-2