[Linux Fedora] Vagrant up Fedora on VirtualBox
Vagrant up Fedora
This article is about to run Fedora on VirtualBox with Vagrant.
Prerequisites
Vagrant
Vagrant is a tool for building and managing virtual machine environments in a single workflow. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases production parity, and makes the “works on my machine” excuse a relic of the past.
Vagrant by HashiCorp - https://www.vagrantup.com/
1 | macOS |
See Downloads | Vagrant by HashiCorp - https://www.vagrantup.com/downloads to learn more.
VirtualBox
VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2. See “About VirtualBox” for an introduction.
Oracle VM VirtualBox - https://www.virtualbox.org/
While Vagrant ships out of the box with support for VirtualBox, Hyper-V, and Docker, Vagrant has the ability to manage other types of machines as well.
In these tutorials, your project was backed with VirtualBox. But Vagrant can work with a wide variety of backend providers, such as VMware, Hyper-V, and more.
1 | macOS |
See Downloads – Oracle VM VirtualBox - https://www.virtualbox.org/wiki/Downloads to learn more.
Fedora
Fedora Cloud Base images are for creating general purpose virtual machines (VMs). You can use the Qcow 2 image for use with Openstack or the compressed raw image. If you are not sure what to use, try the raw image.
Fedora is always free for anyone to use, modify, and distribute. It is built and used by people across the globe who work together as a community.
Usages
Vagrant Init
1 | mkdir -p col-fedora |
Vagrant Up
1 | $ vagrant up |
Vagrant SSH
1 | [vagrant@col-fedora-35 fedora-35-s72]$ vagrant ssh |
References
[1] Vagrant by HashiCorp - https://www.vagrantup.com/
[2] almalinux - Vagrant Cloud - https://app.vagrantup.com/almalinux