Ubuntu Server on VirtualBox a quick guide. Linux, virtualization, installation.

How to Install Ubuntu Server on Oracle’s VirtualBox

Ubuntu Server is a popular Linux operating system that can be used for various purposes, such as web hosting, cloud computing, database management, and more. In this article, we will show you how to install Ubuntu Server  on Oracle’s VirtualBox, a free and powerful software that allows you to create and run virtual machines on your computer.

What You Need

Before we start, you will need the following:

– A computer with a 64-bit processor and at least 4 GB of RAM
– Oracle’s VirtualBox installed on your computer you can download it from here
– The Ubuntu Server LTS ISO file you can download it from here.

Step 1: Create a New Virtual Machine

The first step is to create a new virtual machine for Ubuntu Server in VirtualBox. To do this, follow these steps:

– Open VirtualBox and click on the **New** button in the top right corner
– Give your virtual machine a name (e.g., Ubuntu Server) and select **Linux** as the type and **Ubuntu (64-bit)** as the version
– Click **Next** and choose the amount of memory (RAM) to allocate to the virtual machine (we recommend at least 2 GB)
– Click **Next** and choose to create a new virtual hard disk
– Click **Create** and select **VDI (VirtualBox Disk Image)** as the file type
– Click **Next** and choose **Dynamically allocated** as the storage type
– Click **Next** and choose the size of the virtual hard disk (we recommend at least 10 GB)
– Click **Create** and wait for the virtual machine to be created

Step 2: Configure the Virtual Machine

The next step is to configure some settings for the virtual machine to make it ready for Ubuntu Server installation. To do this, follow these steps:

– Select the virtual machine in VirtualBox and click on the **Settings** button in the top right corner
– Go to the **System** section and make sure that the **Enable I/O APIC** option is checked under the **Motherboard** tab
– Go to the **Processor** tab and increase the number of CPUs to at least 2 (if your computer supports it)
– Go to the **Storage** section and click on the empty optical drive under the **Controller: IDE**
– Click on the disk icon next to the **Optical Drive** drop-down menu and choose **Choose/Create a Disk Image…**
– Browse to the location where you downloaded the Ubuntu Server ISO file and select it
– Click **Open** and then click **OK** to close the settings window

Step 3: Boot Ubuntu Server in the Virtual Machine

The final step is to boot Ubuntu Server in the virtual machine and start the installation process. To do this, follow these steps:

– Select the virtual machine in VirtualBox and click on the **Start** button in the top right corner
– You should see a welcome screen with two options: **Install Ubuntu Server** and **Try Ubuntu Server without installing**
– Choose **Install Ubuntu Server** and press Enter
– Follow the on-screen instructions to select your language, keyboard layout, network configuration, storage configuration, profile setup, server features, and installation summary
– When prompted, confirm that you want to install Ubuntu Server by pressing Enter
– Wait for the installation to complete (this may take some time depending on your internet speed and computer performance)
– When done, you should see a message saying that the installation is complete and that you need to reboot
– Press Enter to reboot and then remove the Ubuntu Server ISO file from the virtual optical drive by clicking on Devices > Optical Drives > Remove Disk from Virtual Drive in the VirtualBox menu bar
– Press Enter again to continue booting from the virtual hard disk

Congratulations!

You have successfully installed Ubuntu Server on Oracle’s VirtualBox. You can now log in with your username and password that you created during the installation. You can also access your server from another computer using SSH or other tools.

We hope you enjoyed this article and learned something new. If you have any questions or feedback, please let us know in the comments


Home » Blog » EN » Linux – EN » Ubuntu Server on VirtualBox a quick guide. Linux, virtualization, installation.

Lascia un commento