From 5c4394efd5de27755f09596d25396d78041cb8dd Mon Sep 17 00:00:00 2001 From: Eliza Date: Wed, 9 Oct 2024 17:06:59 +0100 Subject: [PATCH] Fix images and html formatting --- src/slides/compsoc/7_virtualization.md | 29 ++++++------------- .../{memory.png => storage.png} | 0 2 files changed, 9 insertions(+), 20 deletions(-) rename src/slides/compsoc/7_virtualization/{memory.png => storage.png} (100%) diff --git a/src/slides/compsoc/7_virtualization.md b/src/slides/compsoc/7_virtualization.md index 1b9762d..6e3d586 100644 --- a/src/slides/compsoc/7_virtualization.md +++ b/src/slides/compsoc/7_virtualization.md @@ -6,13 +6,11 @@ slides = true # Virtual Machines (and more) ------------------------------------------------------------------------- -### -------------------------------------------------------------------------- so what is a virtual machine??? ------------------------------------------------------------------------- basically you run another smaller computer in your computer -
-\*insert inception joke here\* +------------------------------------------------------------------------- +*insert inception joke here\* ------------------------------------------------------------------------- ### Why would you want this? ------------------------------------------------------------------------- @@ -24,40 +22,33 @@ basically you run another smaller computer in your computer ### How do I do this on my own laptop then? ------------------------------------------------------------------------- there's a lot of *virtualization* software out there, but we'll be using VirtualBox today -
+------------------------------------------------------------------------- It's free, and it's pretty easy to use -
+------------------------------------------------------------------------- you can download it [here](https://www.virtualbox.org/wiki/Downloads) ------------------------------------------------------------------------- if you already know all of this just wait we have more stuff after this ------------------------------------------------------------------------- when you open VirtualBox, create a new VM like this: - -Create a new VM +Create a new VM ------------------------------------------------------------------------- then choose a name and select the image to use for the OS - -Choose an image - +Choose an image I'll be using Ubuntu 24.04, if you want to use another linux distro you probably know how to do this already ------------------------------------------------------------------------- now, select how much memory and CPU you want to allocate to the new VM - -Allocate memory and CPU - +Allocate memory and CPU The defaults you get are fine for this demo ------------------------------------------------------------------------- and finally, choose how much storage you want to give the VM - -Allocate storage - +Allocate storage 10GB is enough for now, you can use more if you want ------------------------------------------------------------------------- ### Click "Finish" and now you got your new VM!! ------------------------------------------------------------------------- we still need to install the operating system but that's easy enough ------------------------------------------------------------------------- -\*live demo in progress\* +*live demo in progress\* ------------------------------------------------------------------------- ### Now on to the next part (it gets better) ------------------------------------------------------------------------- @@ -84,8 +75,6 @@ one of the most popular container platforms is Docker rn we will use it on the VM we just created ------------------------------------------------------------------------- the commands we will need to install Docker: -
``curl -fsSL https://get.docker.com -o get-docker.sh`` -
``sudo sh get-docker.sh`` ------------------------------------------------------------------------- diff --git a/src/slides/compsoc/7_virtualization/memory.png b/src/slides/compsoc/7_virtualization/storage.png similarity index 100% rename from src/slides/compsoc/7_virtualization/memory.png rename to src/slides/compsoc/7_virtualization/storage.png