2015年9月29日火曜日

[memo][Vagrant]Windows10 で Ubuntu 12.04 の box を動かす

[現象]
Windows10 + Vagrant + VirtualBox で、ゲストOS Ubuntu 12.04 を立ち上げようとしたら動かなかった

[対策]
Vagrant を 1.7.2 から 1.7.4 へ
VirtualBox を 4.2.16 から 5.0.4 へ

[詳細]
AndroidStudio 専用の仮想環境を作るため、こちらの記事を参考に GUI 付きの Linux 環境を作ろうと、記事にある vagrantfile を使い config.vm.box_url に Official Ubuntu 12.04 daily Cloud Image i386 (VirtualBox 4.1.12) を指定して 'vagrant go' を実行したところ、以下のエラーとなった。

>Progress state: E_FAIL
>VBoxManage.exe: error: Failed to create the host-only adapter
>VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
>VBoxManage.exe: error: Context: "int __cdecl handleCreate(struct HandlerArg *,int,int *)" at line 66 of file VBoxManageHostonly.cpp

いろいろと試した末、Vagrant,VirtualBox を両方とも最新のものにしたところ、仮想マシンが立ち上がり、ターミナルソフトから接続できることを確認した。

2015年9月28日月曜日

タイトル変更

Web programing side から、Software development side へ。

オンラインゲームのサーバーサイドという仕事を辞めたのと、環境設定などは、ジャンルに関係なく有用そうなので。