jekyll, post,

SETTING UP AN UBUNTU SERVER VM

Follow Dec 12, 2024 · 3 mins read
SETTING UP AN UBUNTU SERVER VM
Share this

REQUIREMENT

  • VirtualBox
  • Ubuntu Server Image. You can download the Ubuntu server iso from the official Ubuntu website.

NOTE: WE ARE USING UBUNTU SERVER 22.04 FOR THIS INSTALLATION PROCESS.

SETTING UP UBUNTU DESKTOP VM

  • Launch VirtualBox and click NEW Alt text
  • Fill in the requirements Alt text
    • Enter a desired name. Here we used Ubuntu-server-gateway
    • Select the Ubuntu Server image from the stored folder. Here it is in the Download Folder
    • Check Skip Unattended Installation
    • Click Next
  • Memory Allocation Alt text Alt text
  • Finalization Alt text Confirm the setup and click Finish to complete the process.

    INSTALLING UBUNTU SERVER

    On your VirtualBox click on the Ubuntu Server VM and click start to begin the Ubuntu Server installation process. Start VM

    • Select the option to try and install ubuntu server Start VM

    • Select a preferred language and press Enter Sart VM

    • You have the option to continue without updating to a new installer or update to a new install, always use the update option except you have a need to use an older version like in this situation. Select the right option and press ENTER Ubuntu Installation

    • Select a preferred keyboard layout, navigate to Done and press Enter to proceed. Ubuntu Installation

    • Select ubuntu server as the base for the installation. Select Done and press Enter Ubuntu Installation

    • There are two options to proceed from this step. We can either configure the network interface from the terminal or proceed and do the configuration later. Here we’ll proceed and configure it later. So, select Done and press Enter to proceed Ubuntu installation

    • We do not require a proxy to continue this installation navigate to Done and press Enter to proceed Ubuntu Installation

    • Check use the entire disk and set up this disk as LVM group then navigate to Done and press Enter to proceed. You have the option to encrypt your disk at this stage if you need an extra layer of security Select Ubuntu

    • Review the setup then navigate to Done and press Enter to proceed Select Ubuntu

    • When prompted, select Continue then press Enter
      Select Ubuntu

    • Fill in the required information, navigate to Done and press Enter to proceed Select Ubuntu

    • The upgrade step is optional. We are skipping it for this installation. Navigate to Continue and press Enter to proceed with the installation. Select Ubuntu

    • Check Install openSSH server to be able to use SSH when needed. Navigate to Done Press Enter to proceed. Select Ubuntu

    • Check the needed service. This depends on the intended use of the server. Navigate to Done and Press Enter to proceed. Select Ubuntu

    • Select Reboot now and press Enter to finalise the installation. Select Ubuntu

    • Manually unmount the virtual disk (Click on Devices> optical drive to do so) if the automatic unmounting process fails.

    • Enter the username and password when prompted to login. Select Ubuntu

COMMON PROBLEMS/ERROR

  • Not selecting the needed services during installation.
vm
Written by
--->