F
F
Flaker2015-08-19 01:52:58
linux
Flaker, 2015-08-19 01:52:58

How to configure Shared Folders in Vagrant on a Win host and a Linux virtual machine?

Started learning Vagrant. I ran into problems with Shared Folders.
Box: Homestead
Host: Windows 7 x64
1) Default Shared Folders for VirtualBox
+ Fast sync
- Slows web server response time (About 1 second)
2) RSync
+ Web server responds fast
- Watcher doesn't start automatically, have to do vagrant rsync- auto
- Synchronization takes more than a second
3) SMB did not start. Very similar to https://github.com/mitchellh/vagrant/issues/4823
How do you develop using vagrant? I heard so many good things about him, but as a result, a lot of crutches in order to just start up ...
Even in order to get RSync under Cygwin, you have to go into the source: https://github.com/mitchellh/vagrant/issues/3230

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Wolf, 2015-08-19
@Flaker

I advise you not to bother with the shared folders settings, but simply connect to the folder via SFTP and work like this. This will significantly speed up the launch of the site from the virtual machine.
Checked on myself.
PS: if, nevertheless, it is necessary, then I can advise you to configure nfs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question