Skip to content

Virtual Machine Setup

A Virtual Machine (VM) is a software-based emulation of a physical computer. It mimics the architecture and functions of an actual computer, running its own operating system and applications. Multiple VMs can operate simultaneously on a single physical machine, each utilizing its own set of virtual hardware resources. This capability is particularly useful for engineers needing to work across different operating environments.

We don’t have a standard use-case for VMs at Planet Argon. Specific engineers may use VMs because of specific project set-ups, because they are working on an app that is incompabatible with their operating system, or simply out of personal preference.

  • Testing Applications: Testing Rails applications in different environments (like Windows on a Mac) without needing a separate physical machine can improve our QA process and include more developers in the workflow.
  • Isolation: VMs provide a safe, isolated environment for testing, ensuring that issues within the VM don’t impact the host machine.
  • Software Compatibility: VMs allow engineers to run software exclusive to different operating systems, like Windows-only applications on a Mac.
  • VirtualBox: An open-source, cross-platform tool developed by Oracle, ideal for users needing a robust solution with advanced features like shared folders, snapshot functionality, and USB device support.
  • UTM: Designed specifically for macOS and iOS, UTM offers an intuitive interface and is great for users prioritizing ease of use, especially on iOS devices.
  • Cross-Platform Support: VirtualBox is better for multi-OS compatibility.
  • Advanced Features: VirtualBox is better for functionalities like snapshots and USB support.
  • User-Friendly Interface: Opt for UTM, especially for iOS device compatibility.
  • Open-Source Preference: Both VirtualBox and UTM are viable as they are built on open-source technologies.
  1. Installation:

  2. Creating a VM:

    • Download the ISO file for the desired OS.
    • Open VirtualBox, create a new VM, allocate memory, and set up a virtual hard disk.
  3. Additional Configuration:

    • Adjust settings like CPU cores, display acceleration, and shared folders in the VM settings.
  4. Installing the Guest OS:

    • Start the VM, select the ISO file, and proceed with the OS installation.
  5. Installing Guest Additions (Optional):

    • For better integration, install VirtualBox’s Guest Additions in the VM.
  1. Installation:

    • Download UTM from UTM website.
    • Install the app on your macOS or iOS device.
  2. Creating a VM:

    • Download the ISO file for the guest OS.
    • Open UTM, create a new VM, allocate system RAM, and configure drives and images.
  3. Additional Configuration:

    • Customize settings based on your requirements, including display settings and network configurations.
  4. Installing the Guest OS:

    • Start the VM and proceed with the guest OS installation.

After following these steps, you will have a fully functional virtual environment, ready for your development needs. Whether you choose VirtualBox or UTM, both tools offer a reliable way to run multiple operating systems on your primary device, enhancing your development flexibility and efficiency.