Virtual machines for local development
Using Ubuntu Multipass
Rather than installing lots of software on your computer for testing different libraries and coding environments, virtual machines can be a good way to keep your host machine tidy.
Things
- Create virtual machine using Ubuntu Multipass
multipass launch -n [INSTANCE_NAME]
- Set local domain names to the virtual machine
- In
/etc/hostsfile addVM.IP.ADDR.ESS madeup-local-domain
- In
- Install WordPress on the virtual machine
Troubleshooting
- Ensure that
multipassdhas FullDiskAccess in Mac OSX System Settings