Vagrant
boxのテンポラリディレクトリを作成 [#we6f799b] $ cd / $ mkdir vagrant-box $ cd vagrant-box $ mkdir centos66-1 boxの追加 [#gd49b8e1] 下記URLからBOXファイルを探して、[copy]からURLをコピーします。
http://www.vagrantbox.es/
$ vagrant box add boxの名前 URL $ vagrant box add centos66-1
https://github.com/tommy-muehle/puppet-vagrant-boxes/releases/download/1.0.0/centos-6.6-x86_64.box
==> box: Adding box 'centos66-1' (v0) for provider: box: Downloading:
https://github.com/tommy-muehle/puppet-vagrant-boxes/releases/download/1.0.0/centos-6.6-x86_64.box
==> box: Successfully added box 'centos66-1' (v0) for 'virtualbox'! boxの確認 [#e1fea8e4] $ vagrant box list $ centos66-1 (virtualbox, 0) *** boxの初期準備 $ vagrant init centos66-1 $ vagrant up boxの起動確認 [#v120276e] id name provider state directory ————————————————————————- 4a6e596 default virtualbox running /Users/kazuma/vagrant-box/centos66-1 接続確認 [#xed5d05f] $ vagrant ssh or $ ssh -p 2222 vagrant@localhost パスワード:vagrant Vagrantの停止 [#dee51832] $ vagrant global-status id name provider state directory ————————————————————————- df9357d default virtualbox running /Users/kazuma/vagrant $ vagrant halt df9357d $ vagrant global-status id name provider state directory ————————————————————————– df9357d default virtualbox poweroff /Users/kazuma/vagrant boxの初期化 [#o895d19d] $ vagrant global-status id name provider state directory ————————————————————————– df9357d default virtualbox poweroff /Users/kazuma/vagrant $ vagrant destroy df9357d default: Are you sure you want to destroy the 'default' VM?