Skip to content

Instantly share code, notes, and snippets.

@sawwd
Last active January 10, 2019 13:05
Show Gist options
  • Save sawwd/727b8bb7240c37efc02b85f64082c37b to your computer and use it in GitHub Desktop.
Save sawwd/727b8bb7240c37efc02b85f64082c37b to your computer and use it in GitHub Desktop.
Magento2 with Vagrant on Windows 10

Magento2 with Vagrant on Windows 10

1. Install complatible VirtualBox and Vagrant versions:

Download VirtualBox 5.2.22

Download Vagrant 2.0.2

Note: be sure to install VirtualBox first, since Vagrant depends on it.

2. Enabling NFS makes it significantly faster on Windows

Run vagrant plugin install vagrant-vbguest

Run vagrant plugin install vagrant-winnfsd

Read more https://laracasts.com/discuss/channels/general-discussion/for-those-who-find-homesteadvagrantvirtualbox-slow-on-windows

3. Start

Run vagrant up to start the instance

Run vagrant ssh to connect to the started intance

4. Enable root access (optional)

Run sudo passwd root to setup an root password because is not set in Ubuntu which means the root login is disabled by default!

Run vi /etc/ssh/sshd_config then comment PermitRootLogin without-password and below it add PermitRootLogin yes then service ssh reload

More documentation http://backendtime.com/setup-laravel-homestead-windows/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment