How To Install Ubuntu Server in Oracle VirtualBox

Feel free to skip this video if you are already comfortable installing Ubuntu Server from an ISO image in Oracle VirtualBox.

You do not need to use VirtualBox for this. You could use a physical server, if you happen to have a spare one lying around. You could use VMWare which is equally as good (except VirtualBox has a nicer price tag - i.e. it's free).

There's not a huge amount to be said throughout this video so much of it is in silent. I have shortened some of the sequences to show only the relevant command inputs / choices, rather than making you suffer through watching hundreds of files download one by one.

MAC Address Refreshing

The biggest point to take away from this video is that we will be using this as our Master Image throughout the rest of this course. That is to say, whenever we are going to create a new Ubuntu Server to run an ad-hoc Ansible command or Playbook against, we will use this Master Image as our starting point.

It's important to create a unique MAC address - as demonstrated in the video - whenever we are going to clone from this Master Image. Otherwise we may end up with multiple Virtual Machines that all think they are using the same network card. And your DHCP server will not appreciate such things.

Aside from that, this is pretty much plain sailing next > next > next > finish sort of stuff.

But the video is here for completeness anyway.

Code For This Course

Get the code for this course.

Code For This Video

Get the code for this video.


# Title Duration
1 How To Install Ubuntu Server in Oracle VirtualBox 10:21
2 How to Rename our Ubuntu Server 02:00
3 Installing Ansible on Ubuntu Server 00:33
4 Safety First, Safety Second - Snapshots are like Ctrl+Z 00:11
5 Managing the Ansible Inventory Hosts File 02:16
6 Ansible Ad Hoc Commands 04:27
7 Introduction to Ansible Playbooks 02:14
8 Ansible Handlers 01:39
9 Ansible Variables 03:16
10 Git Your Deploy Just Right 05:35
11 Ansible Roles 05:51
12 Looping in Ansible with_items 04:35
13 Ansible Files For Beginners 06:16
14 Variable Precedence - Where To Put Your Role Vars? 04:13
15 Ansible Templates 05:51
16 Ansible Inventory With Our Own Hosts Files 06:57
17 How to Manage Users with Ansible 08:32
18 Ansible Vault Tutorial 03:48
19 Ansible Galaxy Tutorial 10:03
20 Real World Ansible - Common Role Walkthrough 06:20
21 Ansible MySQL Tutorial 13:44
22 Ansible Symfony and nginx 09:37