7. Vagrantfile detail
config.vm.box = “[box name]”
Select using box
config.vm.network :hostonly, “[address]”
Setting IP address
minimum necessary !!
13年5月4日土曜日
8. Vagrant Commnads
Vagrant up -> server start
Vagrant reload -> server restart
Vagrant ssh -> ssh to server
Vagrant halt -> server shutdown
Vagrant destroy -> destroy server
Vagrant provision -> efficient chef
13年5月4日土曜日
12. Setting directory
Opscode git repository
https://github.com/opscode-cookbooks
git clone [repository URL]
standard setting but too many files
13年5月4日土曜日
13. Chef Resources
for original setting
Resources
package -> install
template -> read template file
execute -> run command
service -> start, restart, stop ...
directory -> make directory
...etc
13年5月4日土曜日