From 94c643109b230b98e7a61e1ed46ced0fdbc0155d Mon Sep 17 00:00:00 2001 From: Alex Rougebec Date: Sat, 27 Jan 2024 23:04:29 -0500 Subject: [PATCH 1/2] Update vm_install_using_vagrant.md Added Fedora Linux install instructions t --- .../vm_install_using_vagrant.md | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/_docs/developer/getting_started/vm_install_using_vagrant.md b/_docs/developer/getting_started/vm_install_using_vagrant.md index 43c1c9cc..311643f7 100644 --- a/_docs/developer/getting_started/vm_install_using_vagrant.md +++ b/_docs/developer/getting_started/vm_install_using_vagrant.md @@ -147,6 +147,39 @@ Below are quick steps to get everything installed and running. Vagrant: (if that doesn't work, try: ) + **Fedora/Red Hat Linux** + + * For Fedora, the latest version of VirtualBox is recommended to prevent errors. Download the RPM from the virtual box website. Make sure your version of Fedora is up to date using + ``` + sudo dnf update + sudo dnf upgrade + ``` + and inputting your password. Then install the virtual box rpm using + ``` + sudo dnf install VirtualBox-xxxxx.rpm + ``` + Install vagrant using + ``` + sudo dnf install vagrant + ``` + Now move on to step 5. + + **NOTE** + when running vagrant up, use vagrant up --provider=virtualbox so it doesnt default to libvirt + + **Common errors when running vagrant up(Fedora/RHEL)** + 1. Missing virtnetworkd: + Enable it in your terminal by running: + ``` + sudo systemctl start virtnetworkd + ``` + If your vagrant ever freezes kill it with + ''' + VBoxManage controlvm VM_NAME poweroff + ''' + or reboot the computer and then run vagrant destroy before re-running vagrant up with the provider again. + + 5. Clone [the Submitty repository](https://github.com/Submitty/Submitty) to a location on your computer (the "host"). From fa4453252539cbb22e38c9902c8e0807f75bc96b Mon Sep 17 00:00:00 2001 From: Alex Rougebec Date: Tue, 30 Jan 2024 15:34:32 -0500 Subject: [PATCH 2/2] Minor Updates Made a few more minor changes, added backticks to commands e.t.c. --- .../vm_install_using_vagrant.md | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/_docs/developer/getting_started/vm_install_using_vagrant.md b/_docs/developer/getting_started/vm_install_using_vagrant.md index 311643f7..2863c9f4 100644 --- a/_docs/developer/getting_started/vm_install_using_vagrant.md +++ b/_docs/developer/getting_started/vm_install_using_vagrant.md @@ -149,23 +149,24 @@ Below are quick steps to get everything installed and running. **Fedora/Red Hat Linux** - * For Fedora, the latest version of VirtualBox is recommended to prevent errors. Download the RPM from the virtual box website. Make sure your version of Fedora is up to date using - ``` - sudo dnf update - sudo dnf upgrade - ``` - and inputting your password. Then install the virtual box rpm using - ``` - sudo dnf install VirtualBox-xxxxx.rpm - ``` - Install vagrant using - ``` - sudo dnf install vagrant - ``` - Now move on to step 5. + * For Fedora, the latest version of VirtualBox is recommended to prevent errors. Download the RPM from the virtual box website. Make sure your version of + Fedora is up to date using + ``` + sudo dnf update + sudo dnf upgrade + ``` + and inputting your password. Then install the Virtual Box rpm using: + ``` + sudo dnf install VirtualBox-xxxxx.rpm + ``` + Install Vagrant using: + ``` + sudo dnf install vagrant + ``` + Now move on to step 5. **NOTE** - when running vagrant up, use vagrant up --provider=virtualbox so it doesnt default to libvirt + when running vagrant up, use `vagrant up --provider=virtualbox` so it doesnt default to libvirt **Common errors when running vagrant up(Fedora/RHEL)** 1. Missing virtnetworkd: @@ -173,11 +174,11 @@ Below are quick steps to get everything installed and running. ``` sudo systemctl start virtnetworkd ``` - If your vagrant ever freezes kill it with + 2. If your vagrant ever freezes kill it with ''' VBoxManage controlvm VM_NAME poweroff ''' - or reboot the computer and then run vagrant destroy before re-running vagrant up with the provider again. + or if that doesn't work, reboot the computer and then run `vagrant destroy` before re-running `vagrant up --provider=virtualbox` again. 5. Clone [the Submitty repository](https://github.com/Submitty/Submitty) to a location on