vagrant tutorial
今流行り?の Vagrant の公式サイト から。 いろいろ説明が抜けているところもありますが、サクッとチュートリアル。 環境 Mac OS X 10.8.5 Virtual Box 4.2.18 Vagrant 1.3.3 index ・uninstall ・virtual box で Ubuntu12.04 LTS 32-bit が動き出す ・vagrant で起動したマシンへ ssh ・VM を止める ・Vagrantfile の作成 ・Vagrantfile へ、add box ・add box した box を使用できるよう名前変更 ・host と guest の共有ディレクトリ ・shell の実行 ・suspending uninstall rm /Applications/Vagrant rm /usr/bin/vagrant rm ~/.vagrant.d virtual box で Ubuntu12.04 LTS 32-bit が動き出す 初期化と、sample の Ubuntu をダウンロードするところから。 % vagrant init precise32 http://files.vagrantup.com/precise32.box A `Vagrantfile` has been placed in this directory. You are now ready to `vagrant up` your first virtual environment! Please read the comments in the Vagrantfile as well as documentation on `vagrantup.com` for more information on using Vagrant. そしてダウンロードしてきた Ubuntu を起動する。 % vagrant up Bringing machine 'default' up with 'virtualbox' provider... [default] Box 'precise32' was not found. Fetching box fr...