+ All Categories
Home > Documents > FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele...

FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele...

Date post: 26-Sep-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
40
VirtualBox FRITA Noob Hour 2016-08-03 Lachele Foley
Transcript
Page 1: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

VirtualBox

FRITA Noob Hour2016-08-03

Lachele Foley

Page 2: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Outline

● What VirtualBox is● Reasons to use it● Quick safety notes● How to obtain and install it● How to build a virtual machine● How to install an operating system on it● Live demo

I welcome questions during the presentation!

This is being recorded (FYI).

Page 3: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

What Is VirtualBox?

Page 4: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

A computer that you can’t kick

● Software that pretends to be computer hardware● Keyboard, Mouse, Monitor, Hard Drive (etc.)

● You specify the hardware it should imitate● How large a drive● How much memory

● It builds for you a Virtual Machine (VM)● You install software just like with any regular machine

Page 5: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Here’s a screenshotRegular

computer screen

The Virtual

Machine

Page 6: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Why you might use VirtualBox

Page 7: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

No need for more hardware

● VirtualBox can emulate other types of hardware● Need a 32-bit machine? No problem.● Need an old OS installed? No problem.

● Try out operating systems● Different versions of Linux

● Play with fire (see next about safety!)● Practice customizing the system ● Learn why you shouldn’t run as root● Try dangerous commands● Use software you don’t trust (but be careful still!)

Page 8: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Quick note on safety

Page 9: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Mostly a jail

● VirtualBox does a nice job of isolating the VM

● Only allow connections to/from the VM if you aren’t doing something that might be dangerous.

● Connections include:● Network ports (ethernet, etc.)● Directories mounted from the host● Drag/drop copy/paste between VM and host

● Just think carefully if you’re using it to contain

Page 10: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Obtaining and Installing VirtualBox

Page 11: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Obtaining VirtualBox – Lubuntu

Enter password when prompted

These instructions are for Lubuntu 16.04, but other Lubuntu versions probably aren’t very different.

Page 12: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

...obtaining: Lubuntu, cont.

Click Here

Enter virtualbox and click Search.

Page 13: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

...obtaining: Lubuntu, cont.

Click the square next to virtualbox, then the window

shown will pop up

Click Mark For Installation

Page 14: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

...obtaining: Lubuntu, cont.

This window will appear. Click Mark.

Page 15: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

...obtaining: Lubuntu, cont.

This window will appear. Click Apply.

Page 16: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

...obtaining: Lubuntu, cont.

This window will appear. Click Apply Again.The next bits might take a while. Synaptic will keep you up on what it is doing.

Page 17: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

...obtaining: Lubuntu, cont.

When finished, this will appear. Click Close and then close Synaptic.

Page 18: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Obtaining VirtualBox – Other

Page 19: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Obtaining VirtualBox – Other Linux

Click Here

Once comfortable, come back for the Extension Pack to get USB Support

Page 20: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Obtaining VirtualBox – Other Linux

Choose your Linux type and follow the instructions.In the interest of time, we will not cover this further today.

Page 21: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Using VirtualBox

Page 22: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Under Oracle in the menu

Page 23: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

When it has just opened

Click New to make a new machine.

Page 24: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Name your machine

If it doesn’t guess the Type and Version right, choose the right ones.

Page 25: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Set the amount of memory

Remember, your computer will be having to do all the work of this machine as well as its normal tasks!

Page 26: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Add a hard drive

You choose the size shortly.

Page 27: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Choose the type of virtual hard drive

Keeping the default is usually fine..

Page 28: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Choose how the HD uses space

Keeping the default (Dynamic) is usually good.

Page 29: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Choose the maximum size of the HD

A full install of many distros is 20+ GB, so don’t get stingy.

Page 30: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Your new VM is made; click Settings

You won’t see the groups initially – but you can make your own if you want.

Page 31: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

This is where you control the hardware

Now, we’ll go see this in action.

Page 32: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Installing an OS

Page 33: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Download an ISO (CD) image

● This is the one we will use in the demo

Page 34: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Click on the VM, then click Start

Page 35: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Click file icon to open browser

Page 36: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Find and choose your iso to open

Page 37: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Click Start

Page 38: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

It should look just like any other install

Except that it’s inside a virtual computer inside your real computer.

Page 39: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

The Host Key (usually right Ctrl)

Host Key

Now, let’s explore VirtualBox a little more, but live.

Page 40: FRITA Noob Hour 2016-08-03 Lachele Foley...Aug 03, 2016  · FRITA Noob Hour 2016-08-03 Lachele Foley. Outline ... Use software you don’t trust (but be careful still!) Quick note

Live Demo


Recommended