Use Homestead to configure the Laravel development environment, but setting the mapping folder is not where I set it in the config file

Source: Internet
Author: User
Using Homestead to configure the Laravel development environment, the vagrant Up command works fine, but setting the mapping folder is not the location that I set in the config file, ask God to help.

Here are the two code, the problem is I set the folder, and the configured folder is not on.

Homestead.yaml file Configuration

  2 ip: "192.168.10.10"  3 memory: 2048  4 cpus: 1  5 provider: virtualbox  6    7 authorize: ~/.ssh/id_rsa.pub  8    9 keys: 10     - ~/.ssh/id_rsa 11   12 folders: 13     - map: ~/Documents/develop 14       to: /home 15   16 sites: 17     - map: goldenquant.app 18       to: /home/goldenquant/public 19     - map: blog.app 20       to: /home/blog/public 21   22 databases: 23     - homestead

Terminal input vagrant up command return information

Bringing machine ' default ' up with ' VirtualBox ' provider...==> default:importing base box ' laravel/homestead ' ... ==&gt ; Default:matching MAC address for NAT networking...==> default:checking if box ' Laravel/homestead ' are up to date...==& Gt Default:setting the name of the vm:homestead_default_1468122349760_33905==> default:clearing any previously set NETW Ork interfaces...==> default:preparing Network interfaces based on configuration ... default:adapter 1:nat==> D Efault:forwarding ports ... default:22 = 2222 (adapter 1) ==> default:booting vm...==> default:waiting for Machine to boot. This could take a few minutes ... default:ssh address:127.0.0.1:2222 default:ssh username:vagrant default:ssh A Uth method:private key default:Warning:Connection timeout. Retrying default:default:Vagrant insecure key detected.    Vagrant would 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 PR Esent Default:key inserted! Disconnecting and reconnecting using new SSH key...==> Default:machine booted and ready!==> default:checking for G Uest Additions in vm...==> default:mounting gkfx folders ... default:/vagrant =/users/xing/documents/homeste Ad
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.