Note: The
$
stands for your machine CLI, while the⇒
stands for the VM CLI
Create the project and access to its directory (where [app] is your application name)
$ composer create-project elao/symfony-standard [app] dev-master --prefer-dist --no-install
$ cd [app]
Install and prepare the project dependencies
$ make setup
TODO
Your app is accessible via http://app.vendor.dev/app_dev.php
A host only network interface you're attempting to configure via DHCP already has a conflicting host only adapter with DHCP enabled. The DHCP on this adapter is...
$ VBoxManage dhcpserver remove --netname HostInterfaceNetworking-vboxnet0
If you virtual machine does not answer, or ping to 127.0.53.53
On Yosemite 10.10 to 10.10.3
$ sudo discoveryutil mdnsflushcache
$ sudo discoveryutil udnsflushcaches
Before Yosemite and on Yosemite 10.10.4
$ sudo killall -HUP mDNSResponder
See: https://support.apple.com/kb/HT202516
$ ssh-add -K ~/.ssh/[your_private_key]
An action 'foo' was attempted on the machine 'bar', but another process is already executing an action on the machine. Vagrant locks each machine for access by only one process at a time. Please wait until the other Vagrant process finishes modifying this machine, then try again.
Kill vagrant ruby process, and try again
$ killall ruby
Edit /etc/sudoers.d/vagrant
$ sudo vi /etc/sudoers.d/vagrant
Copy/paste the following lines:
Cmnd_Alias VAGRANT_EXPORTS_ADD = /usr/bin/tee -a /etc/exports
Cmnd_Alias VAGRANT_NFSD = /sbin/nfsd restart
Cmnd_Alias VAGRANT_EXPORTS_REMOVE = /usr/bin/sed -E -e /*/ d -ibak /etc/exports
%admin ALL=(root) NOPASSWD: VAGRANT_EXPORTS_ADD, VAGRANT_NFSD, VAGRANT_EXPORTS_REMOVE