Php 在Ubuntu上安装Laravel/Homestead

Php 在Ubuntu上安装Laravel/Homestead,php,laravel,ubuntu,laravel-5,vagrant,Php,Laravel,Ubuntu,Laravel 5,Vagrant,在Ubuntu15.1上安装Laravel/Homestead时,我无法正确映射我的路径以运行“Wagrant up”,任何帮助都将不胜感激 goldenos@GoldenOS:~/Homestead$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... There are errors in the configuration of this machine. Please fix the fol

在Ubuntu15.1上安装Laravel/Homestead时,我无法正确映射我的路径以运行“Wagrant up”,任何帮助都将不胜感激

 goldenos@GoldenOS:~/Homestead$ vagrant up
 Bringing machine 'default' up with 'virtualbox' provider...
 There are errors in the configuration of this machine. Please fix
 the following errors and try again:

  vm: * The host path of the shared folder is missing:~/home/goldenos/Homestead/projects
这是myhomestad.yaml文件的配置

   ---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
- ~/.ssh/id_rsa

folders:
- map: ~/home/goldenos/Homestead/projects
  to: /home/vagrant/Code

sites:
- map: homestead.app
  to: /home/goldenos/Homestead/projects

databases:
- homestead

# blackfire:
#     - id: foo
#       token: bar 
#       client-id: foo
#       client-token: bar

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp

据我所知,
~
是Linux中
/home/username
的快捷方式,因此请删除路径中的
~
,或者删除
/home/username
部分

使用以下任一选项:

folders:
  - map: ~/Homestead/projects
    to: /home/vagrant/Code


据我所知,
~
是Linux中
/home/username
的快捷方式,因此请删除路径中的
~
,或者删除
/home/username
部分

使用以下任一选项:

folders:
  - map: ~/Homestead/projects
    to: /home/vagrant/Code


这似乎是一条不正确的路径:
地图:~/home/goldenos/homestad/projects
。你能在你的Ubuntu机器上导航到那个路径来验证它是否存在吗?如果没有,请尝试
~/homestad/projects
这似乎是一条不正确的路径:
地图:~/home/goldenos/homestad/projects
。你能在你的Ubuntu机器上导航到那个路径来验证它是否存在吗?如果没有,请尝试
~/homestad/projects