Here’s a straightforward set of instructions (with lots of screenshots) on how to set up Ubuntu Linux in VirtualBox for running Ubuntu in a Virtual Machine on Windows 10 and macOS.
VirtualBox allows you to set up and run virtual machines on your computer easily. A virtual machine is a whole computer, virtualized running on top of your current operating system – allowing you to try out and experiment with new operating systems and tools without reformatting your computer.
Download and Install Virtualbox
The first step: head to the Virtualbox website to download VirtualBox:
…navigate to the downloads section and click on the big green ‘Download’ button.
I recommend Ubuntu Desktop for beginners as it has a graphical interface and a bunch of pre-installed software to help you get started.
Create & Configure a Virtual Machine in VirtualBox
Start the Virtual Machine and Install Ubuntu
The virtual machine is now configured – let’s install Ubuntu!
Logging in to New Ubuntu Virtual Machine For the First Time
Ubuntu is now installed – let’s see what it can do!
Installing VirtualBox Guest Additions in Ubuntu
We’re almost there – Ubuntu is ready to use, but you’ll probably notice it’s in a window that doesn’t fill your screen. Installing the VirtualBox Guest Additions in Ubuntu will add support for dynamically resizing the Ubuntu desktop to fit whatever size you drag the VirtualBox window to, or even go full screen. It also adds the ability to share folders with your virtual machine along with a bunch of other useful stuff.
I'm Brad, and I'm nearing 20 years of experience with Linux. I've worked in just about every IT role there is before taking the leap into software development. Currently, I'm building desktop and web-based solutions with NodeJS and PHP hosted on Linux infrastructure. Visit my blog or find me on Twitter to see what I'm up to.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.