Installing Ubuntu 24.04 LTS
Video 011 of 140 in Virtualization Foundations, in the unit “Setting up your lab machine”. 3:34, with English and Hindi audio.
The lab machine runs Ubuntu, a free Linux operating system. Before you install it, you need to pick the right release, check the machine has enough memory, processor support and disk space, and read the disk list carefully. This article covers each of these steps. The installer erases the disk you choose, so the disk step matters most.
What you will learn
- Use Ubuntu 24.04 LTS, a long term support release that gets security fixes for five years.
- The lab machine needs virtualization switched on, at least 16 GB of memory and at least 100 GB of free disk.
- Check the download against its checksum before you write it to a USB stick.
- The installer erases the disk you select, so read the disk names and sizes before you confirm.
Why Ubuntu 24.04 LTS is the release to pick
Ubuntu comes in two kinds of release. An LTS release, which stands for long term support, gets security fixes for five years. Ubuntu 24.04 is an LTS release. It came out in April 2024, and it is the release this lab uses.
Because the security fixes last five years, the same release stays supported for a long time. That makes it a steady base for a lab that you keep and use over months.
What the lab machine needs before you install
- Processor: Intel VT-x or AMD-V, switched on in the firmware setup.
- Memory: at least 16 GB of RAM, shared by every virtual machine on the host.
- Disk: at least 100 GB of free space, for the host system and its disk images.
Firmware is the built-in software that starts the machine before any operating system runs. Switch virtualization on there. Disk images grow as virtual machines change, so the disk figure is a minimum, not a comfortable amount.
How to get Ubuntu onto the machine safely
- Download the image from the official Ubuntu website, not from a copy site.
- Check the file against its checksum. A checksum is a short code made from the file's contents. If your code differs from the published one, download the file again.
- Copy the image onto a USB stick with a USB writing tool, and boot the machine from that stick.
- Follow the installer on screen. It asks for the language, keyboard, disk, and a user name with a password.
Read the disk list before you erase anything
The installer shows each disk, and it erases the one you choose. Everything on that disk is lost. Imagine someone who clicks Continue without reading the list. If that disk held her photos and old project files, they are gone.
Read the disk names and sizes, and match them to what you expect, before you confirm. If the machine has a spare disk, choose only that one.
Note: Ubuntu also comes as a Desktop image, with windows and a mouse, or as a Server image, which you run from the terminal. The lab works with either. Desktop is the easier start, and many production hosts run as Server.
How to confirm the release after the install
After the install, confirm which release you have. The command below prints the release details of the system you are on.
cat /etc/os-releaseNote: The line named PRETTY_NAME should say Ubuntu 24.04 LTS. If it says anything else, stop and check the image you used.
Terms
- LTS release
- A long term support release of Ubuntu, which gets security fixes for five years.
- Checksum
- A short code computed from a file's contents. Change one byte, and the code changes.
- Firmware
- The built-in software that starts a machine before any operating system runs.
Check yourself
Why is Ubuntu 24.04 LTS a good choice for the lab?
It is a long term support release, so it gets security fixes for five years, which suits a lab you use over a long period.
What does the installer do to the disk you choose?
It erases that disk, so everything on it is lost. Read the disk names and sizes before you confirm.
Which line shows the release after the install, and what should it say?
The PRETTY_NAME line from cat /etc/os-release. It should say Ubuntu 24.04 LTS.
Previous: Does your CPU support virtualization?. Next: Installing the course packages.