问题描述
我在 Ubuntu 14.04 64位桌面上安装了 VirtualBox 4.3.10 和 Vagrant 1.4.3 。
$ b
早些时候,曾与流浪技术合作过,但这次是多重问题。让我描述一下我做了什么
-
克隆私人git到本地系统 / opt / lampp / htdocs / {project
root @ desktop:/ opt / lampp / htdocs / {完成
在终端执行时给出消息
$您的主机(4.3.10)和来宾(4.2.0)上的b$ b
命令完成以下消息
...
-
check vagrant vbguest --status
-
打开浏览器并使用 http://192.168.0.33 运行(在private git repo的README.md文件中提到)但它没有工作。
UPDATE
-
按建议安装 vagrant-vbguest ,而有些为ubuntu提供了解决方案< 14.04
请提出解决方案提示以及如何解决此问题?
解决方案vagrant插件安装vagrant-vbguest
对我来说效果很好(Virtual Box 5.0.22,Vagrant 1.8.4)。由于该插件下载了gcc和一系列其他工具,因此在将guest虚拟机增加.iso添加到正确的位置之前,需要花费较长时间才能提供。
I have VirtualBox 4.3.10 and Vagrant 1.4.3 installed on my Ubuntu 14.04 64 bit Desktop.
Earlier, worked with vagrant technology but this time, multiple issue. Let me describe what I have done
clone private git to local system /opt/lampp/htdocs/{project} : done
root@desktop:/opt/lampp/htdocs/{project}$ vagrant up
gives message on terminal while execution
command completed with below message
...
I understand this is version difference.
check vagrant vbguest --status
Open browser and run with http://192.168.0.33 (mentioned on README.md file of private git repo) but it didn't work.
UPDATE
Installed vagrant-vbguest as suggested here
$:sudo vagrant plugin install vagrant-vbguest
By doing this,message of version difference of GuestAdditions described in 2. is gone
- restart vagrant halt and then vagrant up
mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` /vagrant /vagrant mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` /vagrant /vagrant
Do I need to change anything in local vagrantfile or change vagrant version or something else?
Some say it is a bug whilesome gives solution for ubuntu < 14.04
Kindly suggest the solution hints and how to fix this issue?
解决方案vagrant plugin install vagrant-vbguest
worked well for me (Virtual Box 5.0.22, Vagrant 1.8.4). It took muck longer to provision initially because the plugin downloaded gcc and a bunch of other tools before linking the guest additions .iso to the correct place.
这篇关于vagrant:无法在Linux guest虚拟机中装载文件夹,“vboxsf”文件系统不可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
-