7
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Windows8.1でVagrant

Posted at

Rubyのインストール

Ruby Installer Download

2.0.0-p481 (x64)を入れた。

コマンドプロンプトでruby -vで確認。

Gitのインストール

Git for Windows

SSHクライアントのために入れる。
他にもgit cloneとか出来ないと何かと不便なので、入れておくべき。

インストーラーで色々と設定がいじれるけど、Windows環境でGitを使うを参考にして入れた。コミット時の改行コード設定のところはUnixスタイルにしておいたほうがいいと思う。
commit.png

以降はコマンドプロンプトの代わりにGit Bashが使えるようになるので、こっちを使う。

VirtualBoxのインストール

Download VirtualBox

現時点の最新版は4.3.12。インストーラーを使って普通に入れた。

途中で仮想ネットワークデバイスを追加する関係で、ドライバのインストールが必要。たぶんAdministrator権限が無いとダメ。

Vagrantのインストール

DOWNLOAD VAGRANT

最新版の1.6.3を入れた。インストール後に一度再起動がかかる。
ちょっと前まではgemでも提供されていたけど、今はインストーラー推奨。

vagrant -vで確認。

動作確認

GETTING STARTEDの手順を参考に仮想マシンを立てる。

$ mkdir vagranttest
$ cd vagranttest

$ vagrant init hashicorp/precise32

$ vagrant up

$ vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic-pae i686)

 * Documentation:  https://help.ubuntu.com/
Welcome to your Vagrant-built virtual machine.
Last login: Fri Sep 14 06:22:31 2012 from 10.0.2.2
vagrant@precise32:~$

Ubuntu12.04が立ち上がるみたい。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?