Fix images and html formatting
This commit is contained in:
parent
4868914966
commit
5c4394efd5
2 changed files with 9 additions and 20 deletions
|
@ -6,13 +6,11 @@ slides = true
|
||||||
|
|
||||||
# Virtual Machines (and more)
|
# Virtual Machines (and more)
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
###
|
|
||||||
-------------------------------------------------------------------------
|
|
||||||
so what is a virtual machine???
|
so what is a virtual machine???
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
basically you run another smaller computer in your computer
|
basically you run another smaller computer in your computer
|
||||||
<br>
|
-------------------------------------------------------------------------
|
||||||
\*insert inception joke here\*
|
*insert inception joke here\*
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
### Why would you want this?
|
### 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?
|
### 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
|
there's a lot of *virtualization* software out there, but we'll be using VirtualBox today
|
||||||
<br>
|
-------------------------------------------------------------------------
|
||||||
It's free, and it's pretty easy to use
|
It's free, and it's pretty easy to use
|
||||||
<br>
|
-------------------------------------------------------------------------
|
||||||
you can download it [here](https://www.virtualbox.org/wiki/Downloads)
|
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
|
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:
|
when you open VirtualBox, create a new VM like this:
|
||||||
|
<img src="7_virtualization/new-vm.png" alt="Create a new VM" width="400px" height="187px"></img>
|
||||||
<img src="7_virtualization/new-vm.png" alt="Create a new VM" width="400px" height="300px"></img>
|
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
then choose a name and select the image to use for the OS
|
then choose a name and select the image to use for the OS
|
||||||
|
<img src="7_virtualization/select-image.png" alt="Choose an image" width="351px" height="196px"></img>
|
||||||
<img src="7_virtualization/select-image.png" alt="Choose an image" width="400px" height="300px"></img>
|
|
||||||
|
|
||||||
I'll be using Ubuntu 24.04, if you want to use another linux distro you probably know how to do this already
|
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
|
now, select how much memory and CPU you want to allocate to the new VM
|
||||||
|
<img src="7_virtualization/memory-cpu.png" alt="Allocate memory and CPU" width="353px" height="196px"></img>
|
||||||
<img src="7_virtualization/memory-cpu.png" alt="Allocate memory and CPU" width="400px" height="300px"></img>
|
|
||||||
|
|
||||||
The defaults you get are fine for this demo
|
The defaults you get are fine for this demo
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
and finally, choose how much storage you want to give the VM
|
and finally, choose how much storage you want to give the VM
|
||||||
|
<img src="7_virtualization/storage.png" alt="Allocate storage" width="352px" height="196px"></img>
|
||||||
<img src="7_virtualization/storage.png" alt="Allocate storage" width="400px" height="300px"></img>
|
|
||||||
|
|
||||||
10GB is enough for now, you can use more if you want
|
10GB is enough for now, you can use more if you want
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
### Click "Finish" and now you got your new VM!!
|
### Click "Finish" and now you got your new VM!!
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
we still need to install the operating system but that's easy enough
|
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)
|
### 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
|
rn we will use it on the VM we just created
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
the commands we will need to install Docker:
|
the commands we will need to install Docker:
|
||||||
<br>
|
|
||||||
``curl -fsSL https://get.docker.com -o get-docker.sh``
|
``curl -fsSL https://get.docker.com -o get-docker.sh``
|
||||||
<br>
|
|
||||||
``sudo sh get-docker.sh``
|
``sudo sh get-docker.sh``
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue