TOP ▲ itcore TOPTIPS20160813vagrant.php  タグ:ドットインストール ローカル開発環境

トラブルシューティング ドットインストール ローカル開発環境の構築 [Windows編] #04 VagrantでCentOSを立ち上げよう | itcore 2016

vagrant upでエラーになる。An error occurred while downloading the remote file. The error

原因確認 以下を実行するとシステムエラーになる。
C:\HashiCorp\Vagrant\embedded\bin\curl.exe

Download Microsoft Visual C++ 2010 再頒布可能パッケージ (x86) をインストールする。

C:\HashiCorp\Vagrant\embedded\bin\curl.exe
エラーにならない。

vagrant up
もOKとなる。

VBoxManage.exe: error: Could not create the directory 'T:\VirtualBoxVMs\centos-6.7-x86_64' (VERR_PATH_NOT_FOUND)

以前にVirtualBoxを使用していた場合か。
VirtualBoxを起動してフォルダーを変更する。
ファイル>環境設定>一般>デフォルトの仮想マシンフォルダー

Progress state: E_INVALIDARG VBoxManage.exe: error: Failed to create the host-only adapter

Windows10で発生する。
VBox-Win10-fix-14040.exeをダウンロード
右クリックして管理者権限として実行
アプリが起動中にvagrant upを実行する。

default: Warning: Authentication failure. Retrying… を繰り返す

コントロールパネルからVagrantとVirtualBoxをアンインストールする。(インストール日をクリックしてソートすると見つけやすい)
VirtualBox 5.0.26をインストールする。
Vagrant 1.8.4をインストールする。

insecure_private_keyファイルを削除する。
C:\Users\yamada\.vagrant.d/insecure_private_key

vagrant destroy
vagrant up