前提・実現したいこと
VirtualBox + Vagrant で仮想開発環境を構築しようとして、Vagrant を導入する途中でつまずきました。
Vagrantのインストールまでは完了しましたが、はじめての Vagrant up でエラーが発生し、先に進めません。エラーの解消方法について、助言を頂きたいです。
発生している問題・エラーメッセージ
2018/04/10 10:03:43 launcher: detected 32bit Windows installation
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'bento/centos-6.8' could not be found. Attempting to find and i
nstall...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'bento/centos-6.8' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
vagrant login
. Also, please double-check the name. The expanded
URL and error message are shown below:
該当のソースコード
ソースコード
試したこと
①エラーメッセージの中に、ログインに関する記載があったため、
Vagrant Cloud で、アカウントを取得し、コマンドプロンプト上で、vagrant login をしましたが、以下のメッセージが表示され、ログインできません。
C:/HashiCorp/Vagrant/embedded/mingw32/lib/ruby/2.3.0/net/http/response.rb:120:in
error!': 401 "Authorization Required" (Net::HTTPServerException) from C:/HashiCorp/Vagrant/embedded/mingw32/lib/ruby/2.3.0/net/http/respo nse.rb:129:in
value'
from C:/HashiCorp/Vagrant/embedded/mingw32/lib/ruby/2.3.0/net/http.rb:92
0:in connect' from C:/HashiCorp/Vagrant/embedded/mingw32/lib/ruby/2.3.0/net/http.rb:86 3:in
do_start'
from C:/HashiCorp/Vagrant/embedded/mingw32/lib/ruby/2.3.0/net/http.rb:85
2:in start' from C:/HashiCorp/Vagrant/embedded/gems/gems/rest-client-2.0.2-x86-mingw 32/lib/restclient/request.rb:715:in
transmit'
from C:/HashiCorp/Vagrant/embedded/gems/gems/rest-client-2.0.2-x86-mingw
32/lib/restclient/request.rb:145:in execute' from C:/HashiCorp/Vagrant/embedded/gems/gems/rest-client-2.0.2-x86-mingw 32/lib/restclient/request.rb:52:in
execute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.6/plugins/comma
nds/login/client.rb:58:in block in login' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.6/plugins/comma nds/login/client.rb:129:in
with_error_handling'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.6/plugins/comma
nds/login/client.rb:49:in login' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.6/plugins/comma nds/login/command.rb:61:in
execute'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.6/lib/vagrant/c
li.rb:42:in execute' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.6/lib/vagrant/e nvironment.rb:308:in
cli'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.6/bin/vagrant:1
38:in `<main>'
②環境変数の設定
set https_proxy=http://(ID):(パスワード)@(プロキシサーバーのIPドレス)
set http_proxy=http://(ID):(パスワード)@(プロキシサーバーのIPドレス)
補足情報(FW/ツールのバージョンなど)
社内のLAN内で作業しています。
OS = Windows7 32bit
Vagrant バージョン = 1.9.6
VirtualBox バージョン = 5.1.30
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/04/10 11:26 編集
2018/04/10 14:17
2018/04/10 15:36 編集
2018/04/10 15:36
2018/04/10 15:38
2018/04/11 00:18 編集
2018/04/11 00:33 編集
2018/04/12 11:14