VagrantでCentOS6.4インストール
環境は
OS:Windows7 32bit
VirtualBoxダウンロードして実行(適当にNext)
http://download.virtualbox.org/virtualbox/4.2.12/VirtualBox-4.2.12-84980-Win.exe
Vagrantのインストール
Rubyインストーラをダウンロードして実行
http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-1.9.3-p448.exe?direct
DEVELOPMENT KITをダウンロードして実行
https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
C:\devkitに展開し下記コマンド実行
C:\devkit>ruby dk.rb init
[INFO] found RubyInstaller v1.9.3 at C:/Ruby193
Initialization complete! Please review and modify the auto-generated
'config.yml' file to ensure it contains the root directories to all
of the installed Rubies you want enhanced by the DevKit.
C:\devkit>ruby dk.rb install
[INFO] Updating convenience notice gem override for 'C:/Ruby193'
[INFO] Installing 'C:/Ruby193/lib/ruby/site_ruby/devkit.rb'
Vagrantインストール
C:\devkit>gem install vagrant
VagrantでCentOS6.4インストール
http://www.vagrantbox.es/からほしいbox取得してインストール
c:\devkit>vagrant box add centos64 vagrant box add centos64 http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-i386-v20130427.box
Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.
Vagrant uses the `VBoxManage` binary that ships with VirtualBox, and requires
this to be available on the PATH. If VirtualBox is installed, please find the
`VBoxManage` binary and add it to the PATH environmental variable.
PATHが通っていないとのことで「C:\Program Files\Oracle\VirtualBox」を追加してからやり直しで完了
c:\devkit>vagrant box add centos64 vagrant box add centos64 http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-i386-v20130427.box
c:\devkit>vagrant init centos64
c:\devkit>vagrant up