(upbeat music)
- [Scott] In this course, I'll be using VirtualBox
to make a virtual machine that runs Ubuntu Desktop.
You can get the files you need
from virtualbox.org and ubuntu.com.
Or you can use any Linux distribution you prefer.
Let's take a look at the process
of setting up a virtual machine.
Depending on the speed of your hardware,
this could take up to 20 minutes or so.
Here's the VirtualBox website
and I can click on the big blue button
to download the current version.
There's a few different options for the platform.
So if you're using windows, click the Windows one.
If you're using a Mac, click the option for that one.
And if you're installing VirtualBox on Linux,
click the Linux distributions one.
Take a minute to download
and install the software on your computer.
Then head over to ubuntu.com
where we can download the Ubuntu installer or ISO image.
This is a pretty big file
so I've already downloaded this on my computer,
but you'll want to take a few minutes to download it.
Mouse over downloads and choose desktop.
You'll need the file to be completely downloaded
before you continue.
Then click the green button.
Once you've installed VirtualBox,
open it up and you'll see the manager window.
If you want to find out more about VirtualBox,
take a look at my course, "Learning VirtualBox"
which focuses on how the software works and how to use it.
Let's build a virtual machine.
I'll click on new and I'll give my machine a name.
In this case, I'll call it Ubuntu Desktop.
Make sure the type is set to Linux
and the version is set to Ubuntu 64-bit. Then click next.
VirtualBox recommends 1024 megabytes of memory.
Ubuntu will run with that, but it's not a great experience
so I'll give my machine 2048 or two gigs
and then I'll click next.
I'll choose to create a virtual hard disk,
VDI type and dynamically allocate it.
VirtualBox recommends 10 gigabytes,
but I'll change this to 80 gigabytes instead.
This space isn't being taken up yet
so it doesn't really matter,
but I like to give myself a little bit of breathing room.
And I'll click create.
Then I'll click on the virtual machine
and choose settings.
Under storage
and then the empty slot under the IDE controller,
I'll click the CD icon over here on the right
and then click choose virtual optical disk file.
I'll go to my downloads
and choose the Linux installer image
that I downloaded earlier.
Then I'll click okay.
Now I'll start up the virtual machine.
I'll maximize the window.
I'll click the button to install Ubuntu.
Then I'll go through the setup process.
This has identified my keyboard as U.S. English
and that's correct so I'll press continue.
And then I'll continue through this screen
with a normal installation
and I'll tell the installer to download updates
while it's installing.
I'll click continue.
Because we're installing in a virtual machine,
we'll erase the entire virtual disk and install Ubuntu.
I'll click install now.
Then I'll click continue.
The installers found my location
so I'll click continue again.
And then I'll create a user.
I'll type in my name and then I'll provide a password.
This is the user that I'll use to log in to the system.
I'll press continue.
And now the installer will finish installing Ubuntu.
When the installation finishes, I'll click restart now.
I'll click my name and I'll type in my password.
And I'll click next through the getting started screens.
I'll put my virtual machine into full screen mode.
To do that, I can click here in the menu
or I can use the host key and F.
The host key on this system
which you can see down here in the right corner
is right control.
Now I'll go up to activities and start to type terminal.
I'll make the font bigger with Control+Shift+Plus.
And I'll choose view full screen.
Then I'll go through the process to get the exercise files.
I'll need to grab the Git software package and install it.
Don't worry about what this command does right now.
Just follow along and type in sudo apt install git.
If you see an error, make sure
that the software updater application isn't running.
Press Y to continue and the Git software will be installed.
Now type
git clone git:// github.com/scottsimpson/commandlinebasics.
Those are downloaded now.
I'll go into my dash by pressing the Windows key
or the command key on my keyboard.
And I'll choose files.
I'll open the command line basics folder
and move the exercise files into my documents folder.
Now we're ready to get started.
I'll click back on my terminal
and then go to edit preferences.
Here under the colors tab,
I can change the colors for my window.
I'll uncheck use colors from the system theme
and I'll change to tango light.
You can set your colors however you like.
And then I'll choose close.
(classical music)