your own virtual playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/virtual machine...create a xubuntu...
TRANSCRIPT
![Page 1: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/1.jpg)
Your Own Virtual Playground
CS 1585 :: Doug McGeehan
![Page 2: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/2.jpg)
Follow these steps on your personal laptop or home PC.
1. Open this URL in your browser: http://tiny.cc/dsl-vm2. Download and Install VirtualBox3. Download Xubuntu ISO file4. Create a Xubuntu Virtual Machine (steps to follow)5. Learn about snapshots and restores (steps to follow)
Overview
![Page 3: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/3.jpg)
1. Download the VirtualBox installer2. Also download the Xubuntu .ISO file
Let me know when the VirtualBox installerhas completed its download. Then we’ll move on.
Preliminaries
![Page 4: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/4.jpg)
> Default settings are fine> But we’ll walk through it anyway> Slides are assuming you’re on Windows
> Sorry, I don’t own a Mac
Installing VirtualBox
![Page 5: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/5.jpg)
Installing VirtualBox
> Features to install– USB support– Internet connection
through your host– Etc.
> Okay to accept defaults
> Click “Next”
![Page 6: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/6.jpg)
Installing VirtualBox
> Defaults are fine> I don’t like Desktop
or Quick Launch shortcuts
> Start Menu and File Associations are needed
![Page 7: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/7.jpg)
Installing VirtualBox
> Read what it says> Proceeding will
interrupt your downloads
> If ISO is done downloading, you can proceed
![Page 8: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/8.jpg)
> A pop-up window will appear asking for permission to write to the hard drive
> Accept the request
Installing VirtualBox
![Page 9: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/9.jpg)
Installing VirtualBox
> We trust Oracle> Click “Install”> You can optionally de-select “Always trust”
![Page 10: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/10.jpg)
Installation is complete!
![Page 11: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/11.jpg)
Create a Xubuntu VM
> To create a new, blank VM, click the New button
![Page 12: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/12.jpg)
Create a Xubuntu VM
> Give the VM a good name> Type should be Linux> Version: Ubuntu (64-bit)
> Note: if you only see 32-bit versions listed, move on to the next slide
![Page 13: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/13.jpg)
Create a Xubuntu VM
Note: on some computers (e.g. HP and Lenovo laptops and some Microsoft Surfaces),you might only see 32-bit options in the Version drop-down menu
![Page 14: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/14.jpg)
Create a Xubuntu VM
You’ll need to boot into BIOS and enable virtualization> Google how to enter BIOS for your
particular laptop> Navigate through the pages until you
find some option for Virtualzation that is disabled
> Enable it, save your changes to BIOS,and reboot
> Restart the VM setup process
![Page 15: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/15.jpg)
Create a Xubuntu VM
> 1024 MB (1 GB) of RAM is sufficient for our needs
![Page 16: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/16.jpg)
Create a Xubuntu VM
> We’ll give our VM a virtual hard disk
> This will simply be a file stored on your physical hard disk
![Page 17: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/17.jpg)
Create a Xubuntu VM
> The virtual hard disk type should be VDI
![Page 18: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/18.jpg)
Create a Xubuntu VM> Read the text> Fixed size hard disk files
are safer> Why not to use dynamic:
– You give the VM 10 GB– Your laptop has 11 GB free– You download a 2 GB file– Laptop now has 9 GB free– Your VM will crash
eventually
![Page 19: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/19.jpg)
Create a Xubuntu VM
> A 10 GB virtual hard drive is sufficient for this VM
> If you have plenty of space, you may consider giving it more
![Page 20: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/20.jpg)
All done with the new VM! Now we need to install an Operating System.
![Page 21: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/21.jpg)
Power on the new VM
![Page 22: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/22.jpg)
Create a Xubuntu VM
> Read the text> You’ll be asked for a
start-up disk> Equivalent to inserting an
OS installation CD/DVD into your computer’s CD/DVD drive and booting up
![Page 23: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/23.jpg)
Create a Xubuntu VM
> Click the folder icon> Find the ISO that you
downloaded> Select that ISO
![Page 24: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/24.jpg)
Has the Xubuntu .iso file finished it’s download?
![Page 25: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/25.jpg)
Create a Xubuntu VM
> Once the ISO is selected, click Start
![Page 26: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/26.jpg)
Create a Xubuntu VM
> It’s good to read things that pop up> Click on one of the boxes to expand it> If your mouse is locked in the VM window,
press the Right Ctrl key
![Page 27: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/27.jpg)
Create a Xubuntu VM
> You should arrive to this screen
> The VM is booted into the ISO file
![Page 28: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/28.jpg)
Create a Xubuntu VM
> Leave these blank
> You can update the software later
![Page 29: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/29.jpg)
Create a Xubuntu VM
> Choose Erase disk (default)
> This will erase the virtual hard drive, not your physical hard drive
![Page 30: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/30.jpg)
Create a Xubuntu VM
> Read the text> Asks if you really want to wipe your hard drive> Just a safety precaution in case you are
installing it to your physical drive (we’re not)
![Page 31: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/31.jpg)
Create a Xubuntu VM
> Select your timezone
> Influences the clock on your VM
![Page 32: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/32.jpg)
Create a Xubuntu VM
> What keyboard layout are you using?
> Defaults are fine, unless you’re using an international laptop
![Page 33: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/33.jpg)
Create a Xubuntu VM
> Account information and login credentials
> Simple passwords are okay, but maybe choose a good one
![Page 34: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/34.jpg)
Installation will take some time.Those with SSDs will be faster.
![Page 35: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/35.jpg)
If you reach this page, then installation of an OS on your VM was successful!
● Select Restart Now● After this, once it asks you to press “Enter”,
press “Enter”
![Page 36: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/36.jpg)
> Play around without fear of crippling your computer> “Test the waters” of a new OS> Run software created solely for one OS
Benefits of a Virtual Machine
![Page 37: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/37.jpg)
> If you do something bad, just revert to a previous snapshot– Installed a virus– Deleted your favorite file– Did something else to cause VM failure
Snapshots and Restores
![Page 38: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/38.jpg)
Snapshots and Restores
![Page 39: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/39.jpg)
Snapshots and Restores
> “Take” a snapshot> It’ll preserve the
current state of the VM
> You can revert back to that state later
![Page 40: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/40.jpg)
Snapshots and Restores
![Page 41: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/41.jpg)
Snapshots and Restores
> “Restore” to a previous state
> Highlight the state you wish to restore
![Page 42: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/42.jpg)
> Update the software on your Xubuntu VM(hint: search “xubuntu how to install updates”)
Tasks to complete at home (optional)
![Page 43: Your Own Virtual Playgroundweb.mst.edu/~djmvfb/courses/cs1585/01/Virtual Machine...Create a Xubuntu Virtual Machine (steps to follow) 5. Learn about snapshots and restores (steps to](https://reader034.vdocuments.net/reader034/viewer/2022050407/5fb03e3f4c5430072130459b/html5/thumbnails/43.jpg)
> Update the software on your Xubuntu VM(hint: search “xubuntu how to install updates”)
> Install new software (e.g. Google Chrome, VLC)> Use Google, read through forum posts and tutorials> Start exploring your Linux VM!
Tasks to complete at home (optional)