facebook twitter hatena line email

仮想サーバ/vagrant

提供: 初心者エンジニアの簡易メモ
2016年2月8日 (月) 10:39時点におけるAdmin (トーク | 投稿記録)による版

移動: 案内検索

virtualboxインストール

virtualbox [ショートカット]]

vagrantダウンロード

https://www.vagrantup.com/downloads.html

Vagrantfile作成

作業ディレクトリを作成してその中にVagrantfileを作成

$ vi Vagrantfile
Vagrant.configure("2") do |config|
 config.vm.box = "hashicorp/precise64"
end

仮想マシン起動

$ vagrant up

仮想マシンにログイン

$ vagrant ssh