This Ubuntu tutorial explains how to install Ubuntu with Oracle VirtualBox. What is VirtualBox? Why Ubuntu? Oracle VM VirtualBox is a cross-platform virtualization application. You can run Windows and Linux on your Mac, run Windows server on your Linux server or run Linux on your Windows PC
Oracle VM VirtualBox is a cross-platform virtualization application developed by Oracle Corporation. It allows users to virtually install operating systems on virtual hard disks such as Windows, macOS, Solaris and Linux.
As an example, you can run Windows and Linux on your Mac, run Windows server on your Linux server or run Linux on your Windows PC while running your other existing applications.
Disk space and memory are the only problems that you'll face when installing multiple virtual machines.
VirtualBox can be downloaded here: VirtualBox Downloads
First, open the VirtualBox. Then click "New" to create a virtual machine.
Fill the OS name as Ubuntu since we're installing it. Check the type as Linux and select version Ubuntu (64-bit).
NOTE: Select the amount of memory as you wish but don't add more than 50 percentage of your RAM.
Check the "Create a virtual hard disk now" so we can later define our Ubuntu OS virtual hard disk size.
Now, we want to select "VHD (Virtual Hard Disk)".
Next, we'll dynamically allocate storage on physical hard disk.
We want to specify our Ubuntu OS's size. Recommended size is 10 GB. You can increase more than that.
After creating a virtual hard disk you'll see Ubuntu in your dashboard.
Now, we have to set up the Ubuntu disk image file (.iso)
The Ubuntu disk image file can be downloaded here: Ubuntu OS download
To set up the Ubuntu disk image file, go to settings and follow these steps:
Your Ubuntu OS is fully ready for installation in your VirtualBox. So let's start it!
NOTE: Ubuntu VirtualBox installation and actual OS installation steps may vary. This guide helps you to install Ubuntu in VirtualBox only.
Click Install Ubuntu.
Select your keyboard layout.
In "Updates and other software" section check the "Normal installation" and continue.
In "Installation type", check "Erase disk and install Ubuntu".
Choose your current location.
Now, set up your profile.
You'll see Ubuntu installation.
After the installation, restart it.
After logging in, you'll see Ubuntu desktop.
We have successfully installed Ubuntu in VirtualBox. It's ready to use for your future development projects.
Open your terminal (Press Ctrl+Alt+T) and type the below commands and check if they work.
After checking those, power off your machine by using the following command.
VirtualBox is free and is a great tool for running multiple OS in a single OS. Ubuntu has its benefits. If you're a beginner to Linux, I would recommend you to use Ubuntu as it's beginner friendly.
Please feel free to let me know if you have any questions.
Thank you for reading.
How To setting SSH connection to Ubuntu on Virtualbox. How to setting an ssh connection on a Virtualbox Ubuntu.
How to setup TensorFlow on Ubuntu - This tutorial will help you set up TensorFlow 1.12 on Ubuntu 16.04 with a GPU using Docker and nvidia-docker.
Launching Ubuntu instances with Multipass - Multipass is a great tool you can use to quickly spin up Ubuntu instances for fun, testing, or whatever other reason your creative mind can come up with. I'll show you how to install this utility, and how to use it to launch your own fleet of Ubuntu VMs to do your bidding.