If you use a firewall using Oracle Virtualbox, then the most common problem is Hyper-V on Windows 7, 8, or 10. This will limit you to a 32-bit and one processor.
Start or search for “Windows Features” and select “Enable or Disable Windows Features”.
In the checkboxes, make sure that Hyper-V is turned off - you cannot enable VT-x for Virtualbox with Microsoft Hyper-V supporting it.
Then you can make your Vagrantfile download very user friendly:
config.vm.provider "virtualbox" do |vb| vb.memory = "2404" vb.cpus = "2" end
Assuming you want to run two cores and just over 2 GB of memory
ps - do not forget to add your port forwarding. For PHPStorm (xdebug, mysql and web) I use:
config.vm.network "forwarded_port", guest: 80, host: 8080 config.vm.network "forwarded_port", guest: 3306, host: 3306 config.vm.network "forwarded_port", guest: 9000, host: 9000
brianlmerritt Mar 10 '15 at 23:37 2015-03-10 23:37
source share