CentOS, Apache, PostgreSQL::client, PHPの環境をVagrantで作ります。
- http://www.vagrantup.com/ からダウンロードしてインストール
- 必要なプラグインをインストールしておく
vagrant plugin install vagrant-omnibus
https://www.virtualbox.org/ からダウンロードしてインストール
vagrant up
###vagrant-hostsupdaterインストール hostnameを変更するプラグインのインストール
vagrant plugin install vagrant-hostsupdater
config.vm.hostname = "ec.dev"の"ec.dev"を編集することでhostnameを自由に設定可能
vargrant ssh
vargrant provision
vargrant destroy
https://github.com/onehealth-cookbooks/apache2/tree/master https://github.com/onehealth-cookbooks/apache2/pulls
https://github.com/mattandersen/vagrant-lamp/tree/master/chef/certificates
http://tech.basicinc.jp/Vagrant/2014/02/02/vagrant_chef/