the*_*777 5 virtualbox vagrant 14.04
我已经从oracle站点安装了 virtualbox,而不是我的ubuntu 14.04 存储库。
我已经下载了VirtualBox的客户添置符合我的电流VirtualBox的是5.0从Oracle网站。
以下是我安装virtualbox 来宾添加所遵循的步骤。我在主机上做了这些步骤。
sudo mnt -o loop ~/Downloads/VBoxGuestAdditions_5.0.0.iso /mnt
cd /mnt
sudo sh VBoxGuestAdditions_5.0.0.iso
但是每当我运行时homestead up
,它都会显示我的 virtualbox 和 virtualbox-guest-additions 的版本不匹配。
这是我每次运行时的输出homestead up
。
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 80 => 8000 (adapter 1)
default: 443 => 44300 (adapter 1)
default: 3306 => 33060 (adapter 1)
default: 5432 => 54320 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> 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: 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.3.14
default: VirtualBox Version: 5.0
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /vagrant => /home/chanhxc/.composer/vendor/laravel/homestead
default: /home/vagrant/Codes => /home/chanhxc/Codes
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
Run Code Online (Sandbox Code Playgroud)
我想知道可能是什么问题。
Joe*_*arz 10
尝试从终端添加这个插件:
sudo vagrant plugin install vagrant-vbguest
Run Code Online (Sandbox Code Playgroud)
安装后并执行“vagrant up”,它将检测主机和来宾之间的版本。如果版本不匹配,则相应地更新来宾添加版本。希望能帮助到你。;)
归档时间: |
|
查看次数: |
11939 次 |
最近记录: |