0/1 Lessons

Introduction to Linux Server Operating Systems

• 30min

0 / 3 lessons complete

Linux Server Installation and Lab Setup

• 23min

0 / 6 lessons complete

Working with the Linux Command Line Interface

• 1hr 30min

0 / 12 lessons complete

User and Group Management

• 44min

0 / 7 lessons complete

Linux Storage

• 30min

0 / 6 lessons complete

System Administration Basics

• 48min

0 / 7 lessons complete

Linux Networking

• 47min

0 / 8 lessons complete

Course Conclusion

• 5min

0 / 1 lessons complete


Q&A (0)

Resources (0)

Saving Progress...


There are no resources for this lesson.

In this lesson, I will show you everything you need to know about setting up a virtualization environment on your local computer. The experience of installing a local instance of Linux where you are free to experiment, break, and fix is invaluable to your Linux journey!

We have chosen VirtualBox as our virtualization software because it's free and compatible with both Windows and Linux. If are familiar with another virtualization platform you are free to use that as well! The main goal of this lesson is to create a VM that is on a network with internet access.

Download VirtualBox

The interface for VirtualBox may look different than the screenshots in this lesson. Don't worry! The core features we are using (VM, networking) will still be there!

Visit virtualbox.org, and click the download link to open the downloads page. Once you reach the downloads page, you can select a download appropriate for your OS. They have options for Windows, MacOS, and other Linux distributions:

VirtualBox Downloads Page

Download the appropriate version for your operating system.

Installing VirtualBox

Now that you have VirtualBox downloaded launch the installer:

image 2
VirtualBox Installation

Continue with the default options to complete the installation. Once VirtualBox has been installed, go ahead and launch VirtualBox before proceeding.

Create your Linux VM

The next thing we need to do is create the VM (virtual machine) that we will use to install and run our Linux distribution.

For any Linux distro you plan to install, you should research the minimum system requirements and make sure you can supply at least those before installation. In this case, we plan to install Ubuntu Server, we will see the minimum requirements are listed here:

  • CPU: 1 gigahertz or better
  • RAM: 1 gigabyte or more
  • Disk: a minimum of 2.5 gigabytes

We will keep these minimum requirements in mind when creating our Virtual Machine so we can make sure our VM will meet the minimum requirements of the distro.

In VirtualBox, click the Machine > New button:

image 3
Create a new VirtualBox Virtual Machine

Select Expert Mode, provide a VM name, select the Ubuntu Server ISO that you downloaded earlier, and change the type to Linux, and the version to Ubuntu (64-bit):

image 1
Create a VM in Expert Mode

Click Next. I am going to configure 8GB of RAM (1024 * 8), and 4 processors. Of course, the more power you give your VM, the better it will perform, but you also do not want to allocate too much to your VM and slow down your host computer.

If you cannot allocate 8GB of RAM and 4 CPUs, it's no problem at all! Go with the minimum recommended settings mentioned above.

image 2
Configuring VM Hardware

Click Next to continue. The last step is to create a Virtual Hard Disk for our Ubuntu Server VM. The minimum requirement is 1GB, and I am going to go with 80 GB, so I will leave it at that and click Next.

image 3
Create a VM Hard Disk

Now click Finish. We need to configure the network settings of our VM so it can be accessible from our host computer. This will allow us to do things like SSH from our host computer to the VM. Right-click the VM in VirtualBox and select Settings:

image 5
VM Settings

Click the Network tab, then change the Attached to field to Bridged Adapter:

image 4
Configure a bridged network adapter

Click OK to close the window, and that's it! Our Ubuntu Server VM is ready to be installed!

0 0 votes
Lesson Rating
Notify of
Inline Feedbacks
View all comments