LoginSignup
0
0

More than 5 years have passed since last update.

[自習メモ]Vagrantでの仮想マシン構築

Last updated at Posted at 2017-02-19

◇Virtualboxのインストール
 https://www.virtualbox.org/
◇Vagrantのインストール
 https://www.vagrantup.com/

◇Virtualboxの起動
$ virtualbox

◇Vagrantのバージョン確認
$ vagrant --version
Vagrant 1.8.4

◇仮想マシンOSの取得(trusty64)
$ vagrant box add trusty64 https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box

◇取得OSの確認
$ vagrant box list
trusty64 (virtualbox, 0)

◇仮想マシンの初期化
$ vagrant init trusty64

◇仮想マシン設定ファイルの修正
$ vi Vagrantfile

◇仮想マシンの起動
$ vagrant up

◇仮想マシンへのssh接続
$ vagrant ssh

0
0
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
0
0