1 00:00:00,280 --> 00:00:03,470 Next we're going to need an OS to install on our virtual machine. 2 00:00:03,470 --> 00:00:06,620 We've chosen a Ubuntu too because it's commonly used. 3 00:00:06,620 --> 00:00:11,113 To download it, visit To Ubuntu.com and then click on the download link. 4 00:00:14,069 --> 00:00:15,454 And choose a Ubuntu Server. 5 00:00:18,535 --> 00:00:21,752 You'll have a choice between a couple different versions of Ubuntu, 6 00:00:21,752 --> 00:00:26,010 we're going to want the LTS version, which stands for long term support. 7 00:00:26,010 --> 00:00:28,944 Basically that means it's going to be a more stable version of Ubuntu. 8 00:00:31,616 --> 00:00:35,941 It'll begin downloading an ISO file which is basically a virtual 9 00:00:35,941 --> 00:00:39,254 CD-ROM image from which you can install Ubuntu. 10 00:00:39,254 --> 00:00:43,063 When the download completes we'll be ready to create a new virtual machine, 11 00:00:43,063 --> 00:00:45,590 in the VirtualBox application click the New icon. 12 00:00:47,260 --> 00:00:50,440 Since will be using this virtual machine to simulate a server at our 13 00:00:50,440 --> 00:00:52,465 hosting company I'm gonna name it hostcom. 14 00:00:56,400 --> 00:01:00,300 For the type of operating system it's going to host I'm gonna select Linux. 15 00:01:00,300 --> 00:01:05,200 And then Ubuntu (64-bit) as the default for the operating system version. 16 00:01:05,200 --> 00:01:05,990 I'll click Continue. 17 00:01:08,152 --> 00:01:10,850 Next VirtualBox needs to know how much of your host computer's 18 00:01:10,850 --> 00:01:13,100 ram that should devote to running the virtual machine. 19 00:01:13,100 --> 00:01:14,389 I'm just going to go with the default. 20 00:01:16,050 --> 00:01:18,980 Then it needs to create a file to hold the virtual hard disk for 21 00:01:18,980 --> 00:01:20,200 this virtual machine. 22 00:01:20,200 --> 00:01:23,320 I'm just going to go with the default, Create a virtual hard disk now. 23 00:01:25,350 --> 00:01:27,980 I'll use VirtualBox Disk Image, which is the default. 24 00:01:29,230 --> 00:01:32,130 To save space I'm going to let it dynamically allocate room 25 00:01:32,130 --> 00:01:33,570 within the virtual disk file. 26 00:01:35,010 --> 00:01:39,671 By default the virtual hard disk file will have the same name as the virtual machine 27 00:01:39,671 --> 00:01:43,253 you're creating so I'll leave it at the default hostcom, and 28 00:01:43,253 --> 00:01:47,198 I'll set its virtual size to the default again 8.00 gigabytes. 29 00:01:50,064 --> 00:01:52,490 Okay, our virtual machine is now ready to run. 30 00:01:52,490 --> 00:01:54,226 I'm going to click the Start button the start to start it up. 31 00:01:57,015 --> 00:02:00,569 Now if this were a real server that you were installing Ubuntu for, 32 00:02:00,569 --> 00:02:04,249 you'd probably plug a CD-ROM into the CD-ROM drive and boot it up so 33 00:02:04,249 --> 00:02:07,020 that it could install the Ubuntu from the CD-ROM. 34 00:02:07,020 --> 00:02:09,895 We're going to do the equivalent to that here in VirtualBox. 35 00:02:11,160 --> 00:02:12,510 So you remember earlier, 36 00:02:12,510 --> 00:02:17,090 we downloaded that ISO file which contains the contents of the Ubuntu installer. 37 00:02:17,090 --> 00:02:20,575 We're going to use that ISO file as a virtual CD-ROM drive. 38 00:02:20,575 --> 00:02:28,699 So, I'm gonna find, That ISO file here on our disk. 39 00:02:32,311 --> 00:02:34,150 And once that selected all click Start. 40 00:02:36,460 --> 00:02:39,950 The virtual machine will boot and will immediately begin running the contents of 41 00:02:39,950 --> 00:02:46,140 the virtual CD-ROM, and at this point it'll launch into the Ubuntu installer. 42 00:02:46,140 --> 00:02:49,730 I'll mostly be choosing the defaults for all these install options. 43 00:02:49,730 --> 00:02:52,307 I work in English so I'll select that as my language, 44 00:02:52,307 --> 00:02:54,959 I'll select that I want to install the Ubuntu Server. 45 00:02:58,784 --> 00:03:01,784 I'll select defaults for most of the location options. 46 00:03:14,297 --> 00:03:17,010 Now Ubuntu wants to know a host name for this server. 47 00:03:18,210 --> 00:03:22,160 It can be anything you want, but it should ideally be a single word all lowercase. 48 00:03:22,160 --> 00:03:25,105 I'm going to name it hostcom, the same as our virtual machine. 49 00:03:28,140 --> 00:03:31,460 Now it wants to create a user account so I'll enter my name here. 50 00:03:31,460 --> 00:03:34,370 Obviously you should substitute your own name. 51 00:03:34,370 --> 00:03:36,026 And then it wants a username, 52 00:03:36,026 --> 00:03:39,750 again ideally this will be a single word all lowercase. 53 00:03:39,750 --> 00:03:40,840 I'll just go with the default. 54 00:03:42,440 --> 00:03:43,981 Then it'll ask me to create a password. 55 00:03:49,637 --> 00:03:52,569 You can choose whether you want to encrypt your home directory or not, 56 00:03:52,569 --> 00:03:53,623 I'm going to opt not to. 57 00:03:56,947 --> 00:03:58,708 I'll stick with the defaults for the time zone. 58 00:04:04,140 --> 00:04:07,342 And if this were an actual server we might care about how the hard disk is 59 00:04:07,342 --> 00:04:08,060 partitioned. 60 00:04:08,060 --> 00:04:09,650 But since it's a virtual machine, 61 00:04:09,650 --> 00:04:12,360 I'm just going to go with the defaults for everything. 62 00:04:12,360 --> 00:04:14,120 So I'll use the entire virtual disk. 63 00:04:15,610 --> 00:04:19,280 This is a potentially destructive change, so by default no is highlighted. 64 00:04:19,280 --> 00:04:21,075 I'm going to select Yes and hit Enter. 65 00:04:21,075 --> 00:04:25,158 I'll use the default for the amount of space. 66 00:04:27,850 --> 00:04:32,662 And again I'll select Yes and confirm that I want to write the changes to disk. 67 00:04:41,674 --> 00:04:45,068 Computers on some networks have to go through an HTTP proxy to 68 00:04:45,068 --> 00:04:46,830 access the Internet. 69 00:04:46,830 --> 00:04:49,930 If your network has one, you probably already know about it. 70 00:04:49,930 --> 00:04:52,014 I don't have one so I'm going to just hit Enter. 71 00:04:56,799 --> 00:05:00,556 Next, you can choose whether you want to automatically apply security updates to 72 00:05:00,556 --> 00:05:01,250 the system. 73 00:05:01,250 --> 00:05:03,382 I'm just going to go with the default, no updates. 74 00:05:03,382 --> 00:05:08,880 Then it'll ask which software packages you want to install. 75 00:05:08,880 --> 00:05:10,980 I want full control over what gets installed, 76 00:05:10,980 --> 00:05:13,590 I'll be installing additional stuff from the command line later. 77 00:05:13,590 --> 00:05:17,150 So I'm just going to install the standard system utilities and 78 00:05:17,150 --> 00:05:22,310 leave everything else uninstalled for now. 79 00:05:22,310 --> 00:05:26,090 For systems that have multiple operating systems installed at the same time, 80 00:05:26,090 --> 00:05:29,870 Windows installed alongside Linux for example, you would need the grub 81 00:05:29,870 --> 00:05:33,800 bootloader to let you select between those operating systems. 82 00:05:33,800 --> 00:05:35,840 We're not going to set this machine up this way but 83 00:05:35,840 --> 00:05:37,900 there's no harm in having the grub bootloader so 84 00:05:37,900 --> 00:05:41,110 I'm going to select the default to install the grub bootloader. 85 00:05:43,440 --> 00:05:47,030 And finally the installer will notify you that the installation is complete. 86 00:05:47,030 --> 00:05:51,070 It will warn you to remove the installation media but 87 00:05:51,070 --> 00:05:53,980 since this is a virtual machine we don't have to worry about that. 88 00:05:53,980 --> 00:05:56,291 So I'm just going to hit Enter to continue. 89 00:06:00,394 --> 00:06:02,579 The virtual machine will shutdown and 90 00:06:02,579 --> 00:06:05,451 it'll reboot into the Ubuntu operating system. 91 00:06:09,934 --> 00:06:12,181 You'll be asked for a login, go ahead and 92 00:06:12,181 --> 00:06:16,110 enter the all lowercase username that you selected during the install. 93 00:06:17,960 --> 00:06:19,553 And type in the password you selected. 94 00:06:22,910 --> 00:06:26,070 And there you are, you'll be out of prompts for your new operating system.