LoginSignup
8
10

More than 5 years have passed since last update.

Vagrant で VirtualBox に Ubuntu Server 14.04 をインストールする

Last updated at Posted at 2015-09-29

前記事の続きです。
Vagrantで VirtualBoxへ Ubuntu Server 14.04 をインストールします。

$ vagrant box add develop https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box

developは任意につける仮想マシンの名称です。URLはUbuntu Server 14.04(Trusty/amd64)のイメージファイルを指しています。

Downloading box from URL: https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box
Progress: 3% (Rate: ...

と進捗が表示されつつイメージファイルのダウンロードが始まります。400MB弱のファイルですが30分程度の時間が掛かりました。

Downloading box from URL: https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box
Extracting box...te: 290k/s, Estimated time remaining: 0:00:01))
Successfully added box 'develop' with provider 'virtualbox'!

と表示されれば完了です。この時点でディスク容量が300MB程度減っています。

before
/dev/sda3        224G  1.6G  211G   1% /home
after
/dev/sda3        224G  1.9G  211G   1% /home
$ vagrant box list
develop (virtualbox)

box list でインストールした仮想マシンの名称が表示されます。

8
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
10