2015-09-04 4 views
0

Я установил vagrant (1.7.4) и virtualbox (5.0.2) на windows, затем загрузил файл exact32.box и ввел его в папку с именем vag_pre. После того, как я вошел в эту командную строку: vagrant up, это произошло предупреждение. Вот коды:Как установить брандмауэр-плагины на win8

[email protected] E:\vag_pre 
$ vagrant box add base precise32.box 
==> box: Box file was not detected as metadata. Adding it directly... 
==> box: Adding box 'base' (v0) for provider: 
    box: Unpacking necessary files from: file://E:/vag_pre/precise32.box 
    box: Progress: 100% (Rate: 2588k/s, Estimated time remaining: --:--:--) 
==> box: Successfully added box 'base' (v0) for 'virtualbox'! 

[email protected] E:\vag_pre 
$ ls 
precise32.box 

[email protected] E:\vag_pre 
$ vagrant init 
A `Vagrantfile` has been placed in this directory. You are now 
ready to `vagrant up` your first virtual environment! Please read 
the comments in the Vagrantfile as well as documentation on 
`vagrantup.com` for more information on using Vagrant. 

[email protected] E:\vag_pre 
$ ls 
precise32.box Vagrantfile 

[email protected] E:\vag_pre 
$ vagrant up 
Bringing machine 'default' up with 'virtualbox' provider... 
==> default: Importing base box 'base'... 
==> default: Matching MAC address for NAT networking... 
==> default: Setting the name of the VM: vag_pre_default_1441356586862_57133 
==> default: Clearing any previously set network interfaces... 
==> default: Preparing network interfaces based on configuration... 
    default: Adapter 1: nat 
==> default: Forwarding ports... 
    default: 22 => 2222 (adapter 1) 
==> default: Booting VM... 
==> default: Waiting for machine to boot. This may take a few minutes... 
    default: SSH address: 127.0.0.1:2222 
    default: SSH username: vagrant 
    default: SSH auth method: private key 
    default: Warning: Connection timeout. Retrying... 
    default: Warning: Connection timeout. Retrying... 
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace 
    default: this with a newly generated keypair for better security. 
    default: 
    default: Inserting generated public key within guest... 
    default: Removing insecure key from the guest if it's present... 
    default: Key inserted! Disconnecting and reconnecting using new SSH key... 
==> default: Machine booted and ready! 
==> default: Checking for guest additions in VM... 
    default: The guest additions on this VM do not match the installed version of 
    default: VirtualBox! In most cases this is fine, but in rare cases it can 
    default: prevent things such as shared folders from working properly. If you see 
    default: shared folder errors, please make sure the guest additions within the 
    default: virtual machine match the version of VirtualBox you have installed on 
    default: your host and reload your VM. 
    default: 
    default: Guest Additions Version: 4.2.0 
    default: VirtualBox Version: 5.0 
==> default: Mounting shared folders... 
    default: /vagrant => E:/vag_pre 

[email protected] E:\vag_pre 
$ vagrant plugin update vagrant-vbguest 
Updating plugins: vagrant-vbguest. This may take a few minutes... 
Bundler, the underlying system Vagrant uses to install plugins, 
reported an error. The error is shown below. These errors are usually 
caused by misconfigured plugin installations or transient network 
issues. The error from Bundler is: 

An error occurred while installing little-plugger (1.1.4), and Bundler cannot continue. 
Make sure that `gem install little-plugger -v '1.1.4'` succeeds before bundling. 

Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`.Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: An existing connection was forcibly closed by the remote host. - SSL_connect (https://rubygems.org/gems/little-plugger-1.1.4.gem) 

И я не знаю, как установить камень на win8.1, я должен установить рубин первым? Большое спасибо

ответ

1

Чтобы установить новый плагин, вам необходимо запустить vagrant plugin install vagrant-vbguest.

, как это кажется, у вас возникли проблемы с подключением к Ssl https://rubygems.org, необходимо добавить следующий параметр:

vagrant plugin install vagrant-vbguest --plugin-source http://rubygems.org

+0

Думай @ ИССЛЕДОВАНИЯ E: \ vag_pre $ бродяга плагин установить бродячий-vbguest Установка плагина 'vagrant-vbguest'. Это может занять несколько минут ... Bundler, базовая система, которую использует Vagrant для установки плагинов, сообщил об ошибке. Ошибка показана ниже. Эти ошибки, как правило, , вызванные неправильной установкой плагина или переходной сетью . Ошибка от Bundler: –

+0

извините, это немного длиннее, –

+0

Произошла ошибка при установке little-plugger (1.1.4), и Bundler не может продолжаться. Удостоверьтесь, что 'gem install little-plugger -v '1.1.4'' преуспевает перед связыванием. Предупреждение: этот Gemfile содержит несколько первичных источников. Использование 'source' более одного раза без блока является угрозой безопасности и может привести к установке неожиданных драгоценных камней. Чтобы устранить это предупреждение, используйте блок, чтобы указать, какие камни должны поступать из вторичного источника. –

Смежные вопросы