7,166
edits
(→導入) |
(→導入) |
||
Line 23: | Line 23: | ||
[http://wiki.opscode.com/display/chef/Workstation+Setup+for+Debian+and+Ubuntu Workstation Setup for Debian and Ubuntu] | [http://wiki.opscode.com/display/chef/Workstation+Setup+for+Debian+and+Ubuntu Workstation Setup for Debian and Ubuntu] | ||
<syntaxhighlight> | |||
sudo aptitude install ruby ruby-dev libopenssl-ruby rdoc ri irb build-essential wget ssl-cert curl | |||
cd /tmp | |||
curl -O http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz | |||
tar zxf rubygems-1.8.10.tgz | |||
cd rubygems-1.8.10 | |||
sudo ruby setup.rb --no-format-executable | |||
sudo gem install chef --no-ri --no-rdoc | |||
sudo gem install knife-ec2 --no-ri --no-rdoc | |||
sudo aptitude -y install git-core | |||
</syntaxhighlight> | |||
=== client === | === client === |