VirtualBox Tutorial for Beginners - arieldo/MorBot GitHub Wiki

This is a short VirtualBox tutorial for beginners, which will help you learn some basic commands and concepts to get started with VirtualBox.

  • In this tutorial we will install Ubuntu 18.04 on VirtualBox

Table of Contents

  1. Introduction to VirtualBox
  2. Download Required Software
  3. Create a New Virtual Machine
  4. Allocate RAM
  5. Create a Virtual Hard Disk
  6. Install Ubuntu 18.04
  7. Configure Display Settings

1. Introduction to VirtualBox

VirtualBox is a powerful, open-source software for creating and managing virtual machines. Developed by Oracle, it allows you to run multiple operating systems simultaneously on your computer. With VirtualBox, you can run a different OS in a window on your desktop, without the need for dual-booting. It supports many host operating systems, including Windows, Linux, Mac OS, and others, and a wide range of guest operating systems. It's often used for software development, testing, and education, offering a safe environment to experiment without affecting the host system.

2. Download Required Software

  1. Download and install VirtualBox latest version by choosing your platform packages (windows , Mac) from the official website: https://www.virtualbox.org/wiki/Downloads

  2. Download the Ubuntu 18.04 ISO file from Ubuntu's official site: https://releases.ubuntu.com/18.04/

3. Create a New Virtual Machine

  1. Open VirtualBox and click on the 'New' button to create a new virtual machine.
  2. Name your VM (e.g., "Ubuntu 18.04"), select "Linux" as the type, and choose "Ubuntu (64-bit)" as the version, then click "Next".
  3. Choose 'ISO image' to be the "Ubuntu 18.04" ISO file we Download earlier and click "Next".
  4. Make sure the "skip unattended guest installation" checkbox is checked .

4. Allocate RAM

Decide how much RAM and Processors to allocate to your VM. The minimum requirement for Ubuntu 18.04 is 2 GB and at least 2 processors. but more is recommended. Click "Next" once done.

5. Create a Virtual Hard Disk

  1. Choose "Create a virtual hard disk now"
  2. Set the size of the hard disk. The minimum requirement for Ubuntu 18.04 is 25 GB. Click "Create" once done.

6. Install Ubuntu 18.04

  1. Start your VM by clicking on the "Start" button.
  2. Select "Install Ubuntu" and press "Enter".
  3. Select your preferred language and click "Continue".
  4. Select your keyboard layout and click "Continue".
  5. Choose "Normal Installation" and check "Download updates while installing Ubuntu". You can also choose to install third-party software for graphics, Wi-Fi, etc.
  6. Choose "Erase disk and install Ubuntu" and click "Install Now".
  7. Click "Continue" to confirm that you want to erase the disk and install Ubuntu.
  8. Select your timezone and click "Continue".
  9. Create a new user and password, then click "Continue".
  10. Wait for the installation to finish, then click "Restart Now" to reboot your VM.
  11. Log in to your new Ubuntu 18.04 VM.

7. Configure Display Settings

  1. Select your VM and click on the "Settings" button.
  2. Under the "Display" > "Screen" tab, allocate video memory to at least 128 MB.

After rebooting, you should now be able to use your Ubuntu 18.04 VM! From here, you can install software, customize your environment, and use it like you would use a regular Ubuntu machine.

NEXT :

To easy work on your code and manage your environment Install Visual Studio Code

Linux :

If you not familiar with Linux ubuntu please check linux Tutorial wiki.

⚠️ **GitHub.com Fallback** ⚠️