Skip to content

Instantly share code, notes, and snippets.

@yandod
Last active December 19, 2015 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yandod/5934790 to your computer and use it in GitHub Desktop.
Save yandod/5934790 to your computer and use it in GitHub Desktop.
超シンプルなVagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "precise64-vanilla"
config.vm.box_url = "https://dl.dropboxusercontent.com/u/165709740/boxes/precise64-vanilla.box"
end
@yandod
Copy link
Author

yandod commented Jul 19, 2013

使い方。
VirutalBoxをダウンロードしインストール。
https://www.virtualbox.org/wiki/Downloads

Vagrantをダウンロードしインストール。
http://downloads.vagrantup.com/tags/v1.2.4

プロジェクト用のディレクトリを作り、Vagrantfileをダウンロードしてディレクトリ内に配置
cd プロジェクトディレクトリ
vagrant up

初回のに数百メガのダウンロードが発生。

@yandod
Copy link
Author

yandod commented Jul 20, 2013

Windowsの人はSSHの準備がちょっと面倒です。
http://qiita.com/ogomr/items/98a33f47f6ba050adac4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment