You are on page 1of 23

Oracle VirtualBox is a cross-platform virtualization application.

It installs on your existing Intel


or AMD-based computers, whether they are running Windows, Mac, Linux or Solaris operating
systems. VirtualBox can create and run a "guest" operating system (virtual machine) in a window
of the host operating system. The virtual machine provides a self-contained environment in which
to experiment with new software without risking damaging changes to the host operating system.
We will give an instruction with step-by-step screenshots to show how to install VirtualBox with
an example of installing Ubuntu OS as a guest machine.
Downloads
Ubuntu: https://releases.ubuntu.com/18.04.5/ubuntu-18.04.5-live-server-amd64.iso
CentOS: http://mirror.ps.kz/centos/8.4.2105/isos/x86_64/
Kali: https://cdimage.kali.org/kali-2021.2/kali-linux-2021.2-installer-netinst-amd64.iso

1. Click the New Button.


2. Fill out the name and operating system.
3. Set the memory to 2048 MB. If you find this is too slow, you can change it at any time while
the VM is shutdown.
4. Create a virtual hard drive now.
5. Select the VDI (VirtualBox Disk Image) as your hard drive file type.
6. Set storage on physical hard drive to dynamically allocated.

7. Change the name to include a date like Ubuntu 18.04 VM 20190129 and the size to be at least
20GB. The more the better! Changing this later is not an easy task.
8. Click the “Create” button to finish the initial configuration.

2. Start the virtual machine.


3. When the pop-up dialog appears, select the Ubuntu 18.04 iso you downloaded earlier.
4. Select your language.
5. Select your keyboard config.
6. Press Enter to select the default network connection configuration.
7. Press Enter to skip adding a proxy
8. Press Enter to select the default Mirror address.
9. Ensure that “Use an Entire Disk” is selected and press Enter.
10. Press Enter to continue when presented with the virtual disk image we created earlier.
11. 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.
12. Select and highlight “Continue” and press Enter to confirm the hard disk config.

13. While Ubuntu 18.04 is installing, you must enter some user information. This creates the
default user.
1. Your name: Joe Bloggs
2. Your server’s name: springbot
3. Pick a username: user
4. Choose a password: cb
5. Confirm your password: cb
6. Click “Done”

14. Install OpenSSH now, so that you can SSH into your server for future steps. Press the Space
Bar to select the “Install OpenSSH server” option, tab to “Done” and press Enter.
15. You do not need to install any servers at this stage. Tab to Done and press Enter.
16. Once the installation completes, select “Reboot Now” and press Enter.
17. You will be prompted to remove the installation media before rebooting. Simply press Enter
to continue.
18. Login to the server using the credentials you set above:
For independent work, install other distributions yourself

You might also like