How to Install Ubuntu Server 18.04 LTS in VirtualBox

July 9, 2018
How to Install Ubuntu Server 18.04 LTS in VirtualBox

“How to Install Ubuntu Server 18.04 LTS in VirtualBox” covers the entire process of installing Ubuntu Server 18.04 LTS in VirtualBox. Screenshots of every step are included for reference. This tutorial assumes that your have already downloaded the Ubuntu Server 18.04 LTS iso image from the Ubuntu website. This tutorial also assumes that VirtualBox is already installed and configured on your current system.

1. Open VirtualBox Manager and click the ‘New’ button at the top-left of the window.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

2. In the pop-up dialog that appears, give your virtual machine a descriptive name. Then select ‘Linux’ in the Type field and ‘Ubuntu (64-bit)’ in the Version field.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

3. Click the ‘Next >’ button to proceed. Select the amount of RAM that you want to allocate to your new virtual machine. Since Ubuntu Server is so light on resources, 1 GB (1024 MB) will be just fine for this tutorial.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

4. Click the ‘Next >’ button. Select the option to create a virtual hard disk and click the ‘Create’ button to create the virtual hard disk for the new virtual machine.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

5. Select ‘VDI (VirtualBox Disk Image) as the hard disk file type and click the ‘Next >’ button to proceed.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

6. Select the option to dynamically allocate the storage on the physical hard disk and click the ‘Next >’ button to continue.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

7. Finally, select the location to save your new virtual machine to and select the amount of hard disk space to allocate to your new virtual machine. For this tutorial, 20 GB of disk space will suffice.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

8. Click the ‘Create’ button to finish the initial configuration of the new virtual machine. The pop-up dialog will close and we can begin to install Ubuntu Server 18.04 LTS. Click on your new virtual machine in the left pane of VirtualBox Manager and highlight it, then click the ‘Start’ button on the top-left of the window.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

9. In the new pop-up dialog, we must select the Ubuntu Server 18.04 LTS iso that we downloaded from the Ubuntu website. Click the folder icon, navigate to the iso, then click the ‘Start’ button to begin the installation.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

10. The Ubuntu Server 18.04 LTS Installation launches and we must select our language to continue.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

11. Select your language and press Enter. Then select your keyboard configuration and press Enter.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

12. Make sure that ‘Install Ubuntu’ is selected and press the Enter button again.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

13. Press Enter to select the default network connection configuration.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

14. Press Enter to skip adding a proxy.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

15. Ensure that ‘Use an Entire Disk’ is selected and press Enter.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

16. In this window, the virtual disk image that we created in steps 4-7 is highlighted. This is what we want, so press Enter to continue.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

17. We are now presented with the hard disk partition schema of the new virtual machine. Ensure that ‘Done’ is highlighted and press Enter to continue.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

18. A confirmation dialog appears asking if we are sure about our hard disk configuration. We are sure, so select and highlight ‘Continue’ and press Enter.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

19. While the Ubuntu Server 18.04 LTS system begins to install, we must provide our user information. Enter yours and highlight ‘Done’ at the bottom of the window, then press Enter to continue.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

20. When the installation completes, select ‘Reboot Now’ and press Enter. This will reboot the new Ubuntu Server 18.04 LTS virtual machine.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

21. You will be prompted to remove installation media before rebooting. Simply press Enter to continue the reboot process.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

22. The new Ubuntu Server 18.04 LTS virtual machine will reboot and we can login to the machine for the first time. Enter the credentials that you created in step 19 to log in to the machine.

How to Install Ubuntu Server 18.04 LTS in VirtualBox

23. Congratulations! Your Ubuntu Server 18.04 LTS virtual machine is successfully installed and ready for use. The first order of business for the new machine is to update it. Learn how to update your new Ubuntu Server 18.04 LTS virtual machine here.

How to Install Ubuntu Server 18.04 LTS in VirtualBox