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/hosts file add
      • VM.IP.ADDR.ESS madeup-local-domain
  • Install WordPress on the virtual machine

Troubleshooting

  • Ensure that multipassd has FullDiskAccess in Mac OSX System Settings

References