Vagrant ことはじめ
前回の記事でVirtualBoxがインストール出来たら
勢いに乗って Vagrant までいっちゃいましょう!
# wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.2_x86_64.rpm # rpm -Uvh vagrant_1.7.2_x86_64.rpm # vagrant -v Vagrant 1.7.2 # mkdir vagrant # vagrant init precise32 http://files.vagrantup.com/precise32.box # vagrant up # vagrant ssh Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic-pae i686) * Documentation: https://help.ubuntu.com/ New release '14.04.1 LTS' available. Run 'do-release-upgrade' to upgrade to it. Welcome to your Vagrant-built virtual machine. Last login: Fri Sep 14 06:22:31 2012 from 10.0.2.2 vagrant@precise32:~$ vagrant@precise32:~$ uname -a Linux precise32 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686 i686 i386 GNU/Linux vagrant@precise32:~$ exit # vagrant destroy default: Are you sure you want to destroy the 'default' VM? [y/N] y ==> default: Forcing shutdown of VM... ==> default: Destroying VM and associated drives... # vagrant ssh VM must be created before running this command. Run `vagrant up` first. #
これだけで VirtualBox上で
Ubuntu 12.04 LTS 32-bitが動いている環境をGetすることができちゃう。。。
すんごいなぁ
参考
http://lab.raqda.com/vagrant/getting-started/index.html
moremagic
2015-02-04