Oracle Virtual box Instalation
Create Ubuntu Virtual Machine
Introduction
Virtualization technology has revolutionized the way we use computers, enabling us to run multiple operating systems on a single physical machine. One popular virtualization tool is Oracle VirtualBox, which allows you to create and manage virtual machines (VMs) with ease. In this blog, we’ll walk you through the steps to install Oracle VirtualBox and set up your first Ubuntu virtual machine.
Step 1: Installing Oracle VirtualBox
- Download and Install: Begin by downloading the latest version of Oracle VirtualBox from the official website. Choose the appropriate installer for your host operating system (Windows, macOS, or Linux) and follow the installation instructions.
- Launch VirtualBox: Once the installation is complete, launch Oracle VirtualBox. You’ll be greeted with the VirtualBox home page.
Step 2: Creating an Ubuntu Virtual Machine
- Creating a New VM: To create a new virtual machine, click on the “New” button on the VirtualBox home page, or you can simply press
Ctrl + N.
2. VM Settings: In the “Create Virtual Machine” window, provide a name for your VM, such as “Ubuntu.” Below, change the “Type” to “Linux,” and the “Version” to “Ubuntu (64-bit),” then click “Next.”
3. Assigning Memory: Allocate memory to your VM. It’s recommended to assign a minimum of 4 GB (4096 MB) for smooth performance. Adjust the slider accordingly and click “Next.”
4. Hard Disk: Choose whether to create a new virtual hard disk or use an existing one. Typically, for a new VM, you should select “Create a virtual hard disk now” and click “Create.”
5. Hard Disk File Type: Choose the file type for the virtual hard disk. “VDI (VirtualBox Disk Image)” is a commonly used option. Click “Next.”
6. Storage on Physical Hard Disk: Select “Dynamically allocated” to allow the virtual hard disk to grow in size as needed. Click “Next.”
7. File Location and Size: Allocate a minimum of 15 GB for your Ubuntu VM to ensure it has enough space to operate. You can set a larger size if you have more space available. Click “Create” to proceed.
8. VM Created: Congratulations! You’ve now created your first virtual machine. You can see it listed on the VirtualBox home page.
Step 3: Configuring VM Settings
- General Settings: Before starting your VM, click on “Settings” to configure its options. In the “General” tab, explore the “Advanced” settings and customize them according to your preferences. Features like clipboard sharing and drag-and-drop can be configured here.
2. Storage Settings: In the “Storage” section, click on “Controller: IDE” and under “Attributes,” select “Optical Drive.” Choose “Choose a disk file” and locate the downloaded Ubuntu ISO image file on your computer. This file will be used to boot the VM.
3. Starting the VM: Confirm that the ISO image is attached to the virtual machine by checking the “Controller: IDE.” Now, click “OK” to save your settings and return to the VirtualBox home page.
4. Starting the VM: Click on your newly created VM and then click “Start.”
Step 4: Installing Ubuntu
- The VM will boot, and you’ll be presented with the GNU GREB option to “Try or Install Ubuntu” Select your preference to begin the Ubuntu installation process.
After loading you’ll be presented with the option to “Try Ubuntu” or “Install Ubuntu.” Select your preference to begin the Ubuntu installation process.
2. Installation Wizard: Follow the Ubuntu installation wizard, where you’ll choose your preferred language, keyboard layout, and other settings.
3. Installation Type: Select your preferred installation type, such as “Erase disk and install Ubuntu” or “Something else” if you want more advanced partitioning options. Click “Install Now” to proceed.
4. Location and User Details: Set your time zone, provide your name, company name, username, and a secure password for your Ubuntu installation. You can also choose whether to require a password to log in to your VM.
5. Installation: The installation process may take some time. Once completed, you’ll see a notification indicating the installation is finished. Click “Restart Now.”
6. Logging In: After restarting, you’ll be prompted to log in. Enter the username and password you set during installation.
7. Final Steps: You may be presented with options to upgrade to Ubuntu Pro; choose according to your preferences. Your Ubuntu virtual machine is now ready for you to explore the world of Linux.
Your Ubuntu virtual machine is now ready for you to explore the world of Linux.
Conclusion
Get mrcloudexplorer’s stories in your inbox
Join Medium for free to get updates from this writer.
Congratulations! You’ve successfully installed Oracle VirtualBox, created an Ubuntu virtual machine, and installed the Ubuntu operating system. You’re now ready to dive into the rich ecosystem of Linux and explore all the possibilities it offers within your virtual environment. Enjoy your journey into the world of virtualization and open-source software!
Happy Learning ;)
Reach me 👨💻








