1. Launch VirtualBox and click the “New” button on the ribbon at the top of the application window.
2. The prompt that opens next requests some general information about the new virtual machine. Name your VM whatever you prefer. For the sake of convenience, this one is named “Ubuntu_18.04.” Ensure that the “Type:” field has “Linux” selected and verify that the “Version:” field is set to “Ubuntu (64-bit).” Click the “Next” button.
3. Select the appropriate amount of RAM for your new virtual machine. The amount of RAM that can be dedicated to a virtual machine varies because of differences in host machine specs. Generally, anything above 2GB will suffice though.
4. You will need to create a hard disk for your new virtual machine. Ensure that the middle option, “Create a virtual hard disk now,” is selected and click the “Create” button.
5. Select the first option, “VDI (VirtualBox Disk Image),” and click the “Next” button.
6. Choose the first option, “Dynamically allocated,” and click the “Next” button.
7. The default size for the disk is 10GB, but that will leave little room for extra goodies. Since we selected to dynamically allocate the hard disk in the previous step, we can choose a larger disk size without actually using the entire allocated space. Change the disk size to at least 30GB if you plan on using the virtual machine for anything other than test driving. Click the “Create” button. The initial configuration of your new virtual machine is now complete.
8. Click the “Settings” button on the ribbon at the top of the application window. The settings prompt will appear. In the pane on the left side of the prompt, click “System,”, then in the right pane click the “Processor” tab. Adjust the slider to the position where the green meets the red. We are now finished with settings and can safely click the “OK” button.
9. Ensure that your Ubuntu VM is highlighted in the left pane of the application window and click the “Start” button on the ribbon at the top of the application window.
10. The prompt that appears requests the location that you downloaded the Ubuntu 18.04 iso to. Click folder icon on right and navigate to you Ubuntu 18.04 iso and then click the “Start” button.
11. The Ubuntu installer now begins and you will be prompted for your preferred language. Select your language and then click the “Install Ubuntu” button.
12. Next, choose your keyboard layout and click the “Continue” button.
13. You can choose between “Normal” and “Minimal” for an installation type. A normal installation will install all of the default apps needed for an ordinary user. A minimal installation only installs necessities, allowing the user to customize his or her experience while using much less disk space. If you are new to Linux, we recommend the normal installation so that you can get a feel for some of the tools that Ubuntu provides with the operating system. Ensure that both options in the “Other options” section are checked and click the “Continue” button.
14. Next we need to configure how we install Ubuntu. The default option is fine in most cases, but the privacy-focused can choose to encrypt the installation. Click the “Install Now” button.
15. If you chose to encrypt, you will next be asked for a security key (password). Choose a good, strong password and click the “Install Now” button.
16. Click the “Continue” button on the pop up window to verify the installation configuration.
17. Choose your timezone and click the “Continue” button.
18. Next, enter your name, the desired computer’s name, a username, and a password for your user account. Ensure that “Require my password to log in” is checked and click the “Continue” button.
19. Ubuntu now begins to install as a few welcome messages are displayed. The installation will take a few moments.
20. When the installation has completed, you will be greeted with a pop up verifying installation success. You must now restart the virtual machine to begin using it. Click the “Restart Now” button to restart the virtual machine.
21. A prompt will request that you remove the installation media and press “Enter.” Since this is a virtual machine, removal of installation media is not necessary so just press the “Enter” button on your keyboard.
22. The Ubuntu virtual machine will restart. If you chose encryption, you will be prompted for the disk encryption password before the system starts. Enter it. After a brief success message, the Ubuntu operating system will begin loading.
23. Click on your name to view the login page.
24. Enter the password for your user account and click the “Sign In” button.
25. Finally! At long last, the Ubuntu desktop. A welcome screen is displayed touting some new Ubuntu features. Click the “Next” button on all pages and lastly click the “Done” button to close the welcome screen. That’s it! After a successful mission, it is time to enjoy your new Ubuntu 18.04 LTS virtual machine.