Install the Ubuntu server on Virtual Box

Krupalvora
2 min readJul 15, 2023

--

We all might be familiar with the Linux servers & their use cases provided by different service providers like AWS, Azure, etc. But the same thing can be experienced and explored by us using virtualization using Oracle virtual box.

Before we move ahead with the installation part let us understand why the server instead of the actual OS.

1. In the real world we need to interact with OS via the command line instead of GUI.

2. Get the flavor of some networking commands to interact with different machines.

Prerequisites

  1. Oracle Virtual Box
  2. Ubuntu server 22.04 iso file (Download file -> https://ubuntu.com/download/server)

Steps :

  1. Open the virtual box. Click on the new button, and name your server eg- Ubuntu-server.
  2. Allocate Ram (Minumun 2 GB).
  3. Click on Create virtual disk now
  4. Select VDI (Virtual Disk Image)
  5. Select Dynamically allocated.
  6. You will now prompt to choose a File location and size. Set the size to 20 GB(optional).
  7. Select your virtual machine and click on the settings tab.
  8. Click on storage option -> Controller IDE -> Choose optical drive. Select your downloaded ISO file. Click on the OK button.
  9. Select the virtual machine and click on the Start button
  10. A new window will get open with the option to choose your language press SPACE BAR to select and ARROW keys to move up or down.
  11. Next, it will ask for updates while installing you can continue without updating.
  12. Choose a keyboard layout.
  13. It will ask for the type of installation, go with the Ubuntu server.
  14. No changes in networking connections. Click on Done
  15. Currently, no need to enter the proxy address. Select Done
  16. The mirror address has no changes required.
  17. Storage configuration: choose the entire disk.
  18. Profile setup. Enter the name and password for the server.
  19. SSH Setup, as of not required.
  20. For third-party drivers, Click on continue
  21. Featured server snaps. select if required.
  22. Depending on your system and conf it will take some time.
  23. Congratulations, installation is now completed, select reboot now. Even a reboot will take some time.

--

--