In this lecture we will be installing our virtual machine. 2 2
This video is intended for Windows users. 3 3
If you're on Mac OS, go on to the next lecture to install 4 4
virtual box. 5 5
So the first thing to do is open a browser and head to the 6 6
VMware player download page. 7 7
In the lower left you will click the Try Workstation Player 8 8
for Windows tab. 9 9
This begins downloading the VMware Executable. Before we can 10 10
use our virtual machine, we have to download our Ubuntu operating 11 11
system, so Let's head over to their download page. Now regardless 12 12
of what the latest version is, 13 13
If you are following along with this course we will be using 14 14
Ubuntu 20.04. If in the future there is a newer version, you 15 15
can head over to the alternative downloads, and download version 16 16
20.04 from there. 17 17
You'll notice that the Ubuntu ISO file is relatively large. 18 18
If you have a slow internet connection, especially if you're 19 19
on WiFi, it may be worth going to the alternative downloads 20 20
page and getting a torrent link to download Ubuntu in a torrent 21 21
downloader such as Utorrent instead. 22 22
This will help make sure you don't end up with a corrupted 23 23
file. For the time being, 24 24
I'm going to cancel this download since I already downloaded 25 25
it ahead of time. 26 26
Feel free to pause the video and come back when your download 27 27
is finished. 28 28
Alright now Let's go ahead and run the VMware installer. 29 29
The Wizard appears. 30 30
Go ahead and click Next, which will bring up the user agreement. 31 31
Go ahead and read through it. 32 32
Check the accept box and hit next. 33 33
Here you can change the install path which I just leave as 34 34
is and check the enhanced keyboard driver which allows for 35 35
use of full feature and multi language keyboard. 36 36
Now I do not care for VMware checking for updates on startup 37 37
nor being part of the Customer Experience program, so I'll 38 38
go ahead and Uncheck those and hit next. 39 39
I do want shortcuts placed on my desktop and on my Start menu so 40 40
I will leave those ticks and now we go ahead and hit install. 41 41
After about a minute or so we can hit 42 42
Finish. 43 43
Now it will prompt us to restart our computer so I will go 44 44
ahead and do that now manually so I can stop the recording 45 45
and I'll see you in a bit. 46 46
Alright, I've restarted my computer and hopefully you have 47 47
done the same. 48 48
So now Let's begin configuring our Ubuntu virtual machine. 49 49
Go ahead and open VMware when it opens. 50 50
Go ahead and click Create new virtual machine. 51 51
It's going to prompt us for the disk image of our operating 52 52
system. So Let's browse into our downloads folder and get 53 53
our disk image. 54 54
Select it and hit next. 55 55
Now VMware optimizes installation of certain operating systems 56 56
so we can put in our information here and it will automatically 57 57
get put in to save us a little time when setting up the VM, 58 58
you can give your Ubuntu user account whatever name and password 59 59
you want. I'm just going to use my name and put in an easy 60 60
to remember password. 61 61
Now we are going to give our virtual machine a name. 62 62
This will be the name we see in our list when we open VMware. 63 63
I'm just going to note that this is a Ubuntu 20 machine 64 64
and leave the default location. 65 65
Now we are going to specify how much space on our hard drive 66 66
we want this operating system to have. 67 67
Note that default disk size is 20 gigabytes. 68 68
However, if you plan to follow along with the lectures in 69 69
the Advanced feature section of this course, we will be building 70 70
ROS2 from Source, which will take up a lot of space, in 71 71
which case I actually recommend 35 gigabytes of disk capacity 72 72
to make sure you don't end up running low on space. 73 73
Now we get our final check prompt. 74 74
I'm going to go ahead and hit finish, which will start up 75 75
our virtual machine. 76 76
If you get prompted to download VMware tools for Linux, go 77 77
ahead and do so. 78 78
This will help enhance performance and give other extra features. 79 79
As you can see, the Ubuntu installation will continue. 80 80
This will take a while, especially if you have a lower end 81 81
computer. For me, it took about 20 minutes or so, so I'm 82 82
just going to speed up this video so you can see what happens 83 83
along the way, but feel free to pause this video and come 84 84
back when the install finishes. 85 85
Alright, so our installation has finished, so Let's go ahead 86 86
and click on our user and log on. 87 87
We can go ahead and maximize this window so you can use our 88 88
entire screen. 89 89
This is the Ubuntu getting started window. 90 90
We will not set up live patch and we will opt out of sending 91 91
info to Ubuntu. 92 92
I'll leave location services off and we can go ahead and 93 93
hit. Done. 94 94
Congratulations. 95 95
You now have a new virtual operating system. 96 96
Feel free to customize the Sidebar with apps you will use 97 97
by right clicking on them. 98 98
I'll go ahead and remove these ones since I'm not going to 99 99
be using them, then I will go ahead and click on the All 100 100
apps icon in the lower left and search for terminal. 101 101
I'll go ahead and click it. 102 102
You can also use the key binding Control Alt T open a new 103 103
terminal if you'd rather do it that way. 104 104
Now that it is open, I can go to the Sidebar right click 105 105
and favorite it so it is there for me to use later in the 106 106
future. When you want to shut down your virtual environment, 107 107
you can click the power icon in the top right and click Power 108 108
off. Alternatively, you can use the terminal by typing Shut 109 109
down now and hitting enter. 110 110
Great. 111 111
You successfully configured your Ubuntu virtual environment. 112 112
In the next lecture, we will go over installing ROS.