![]() On Vagrant Cloud, you’ll find a catalogue of boxes, or virtual machine images, to download. You have everything you need to create a virtual machine □ Step 3: Create a Virtual Machine If you already have Homebrew installed, run the following command: You can either download the binary or use the package manager Homebrew. ![]() Go to Vagrant downloads and choose the best installation method for you. You should see a welcome screen:Īlthough you could just work with VirtualBox directly, HashiCorp’s Vagrant makes it easier to create and configure virtual machines. Open VirtualBox to make sure it’s working. Once you’ve double-clicked the downloaded file, you’re guided through the installation process. ![]() Note the warnings that this version is likely to contain bugs. If your Mac has an M1 or M2 chip, you need the Developer preview for macOS/Arm64. Go to VirtualBox downloads and choose the version for your Mac: either Intel or Arm64. ![]() Why? Because it’s both free and easy to use. There are lots to choose from, but I’m using VirtualBox. To create virtual machines, you need a virtualization platform. VirtualBox provides the virtualization and Vagrant automates the creation and configuration of virtual machines.īy the end, you’ll have a Linux VM that you can quickly spin up in moments. In this tutorial, I’ll explain how to create a Linux virtual machine (VM), using two tools: VirtualBox and Vagrant. Happily, it’s possible to run multiple operating systems on a single machine. It would be a nuisance if I needed a separate machine for every test case. As a technical writer, I often need to work with different operating systems and environments to test applications. ![]()
0 Comments
Leave a Reply. |