Symfony2 +Vagrant performance - running slow - speeding up?

后端 未结 3 1363
余生分开走
余生分开走 2021-01-03 10:58

I have started using vagrant with Symfony2.* to develop Web projects. I am using Windows, performance is very slow, because nfs mount isn\'t supported.

I\'ve put cac

3条回答
  •  再見小時候
    2021-01-03 11:16

    • Under Windows you absolutely need to use NFS OR RSYNC for sharing folder with Vagrant.
    • RSYNC is an good solution when automatic mode is activated but it's not bidirectional.

    Try this config.yaml (make with PuPHPet): https://github.com/comexpertise/PuPHPet-config-lamp-webdev Optimized for Windows: use NFS shares OR RSYNC.

    Very speed but not free: Swith VirtualBox to VMWare with the Vagrant VMWare plugin (and use NFS or RSYNC sharing types).

    Another solution (best performances): need to disable Vagrant sharing folders for use local file system of VM, and configure your favorite IDE/FTP for use SFTP and simply upload modified files (Netbeans can automatically upload new created/modified files)

    Edit: Read my comment #2 before about newest versions of Vagrant. You need more speed? Try VMware + Vagrant VMware plugin, it's the best (y)

提交回复
热议问题