How to install Ubuntu Server 22.04 LTS

Ubuntu Server 22.04 LTS minimum system requirements

Dual Core Processor (2 GHz)
4 GB Physical RAM
25 GB or more Disk Space
Bootable Media
Internet Connectivity (Optional)

1. Download Ubuntu Server 22.04 ISO file

Download Ubuntu server 22.04 iso file from ubuntu official website

After downloading the ISO file, then burn it to a USB drive and make it bootable.

2. Boot the system with bootable media

Reboot the system and change its boot media from hard drive to USB from bios settings

When the system boots from USB, we will get the following screen, select "Try or Install Ubuntu Server" and press Enter.
Insert image description here

3. Select the language to use during the installation process

Select your preferred language and press Enter
Insert image description here

4. Select the keyboard layout used during installation

Select your preferred keyboard layout and press Enter
Keyboard-Layout-During-Ubuntu-22-04-Server-Installation

5. Select installation type

In this step you will be prompted to choose the base for your installation, there are two options:

  • Ubuntu Server – It will have all the software which are required to run and manage Ubuntu server smoothly.
  • Ubuntu Server (Minimized) – As the name suggests, it will have minimum runtime footprint in environments where humans are not expected to login.

Insert image description here

Select the first option and then select Done

6. Network and Ubuntu Archive Image Setup

During this step, if your system is connected to a modem or switch, it will try to obtain an IP address through DHCP.

If DHCP is not enabled in your environment, you can also assign the IP manually.
Insert image description here

Select Done and press Enter

If your system is running behind a proxy server, specify the proxy IP and port. If you don't have a proxy in your environment, skip this section.
Insert image description here

Based on the current location, the installer will automatically configure the Ubuntu archive image.

Ubuntu-Archive-Mirror-Ubuntu-22-04-Server

Select Done and press Enter

7. Configure storage layout

Here we will decide the partitioning scheme based on the available disk space.

  • Use an entire disk – automatically create partitions on the entire disk
  • Custom Storage Layout – Custom partition

Note: If you are newly installing Ubuntu, it is recommended to choose the first option and use the entire disk
Insert image description here

Select Done and press Enter

Insert image description here

As you can see, the installer has created two partitions (/& /boot) on the 40 GB hard drive and we have around 19 GB of space which we can use to create partitions as per the requirement.

Select Done and press enter to continue the installation

In the following screen, select Continue to write changes to disk

Continue-Write-Changes-Disk-Ubuntu-Server-22-04-Installation

8. User profile settings

My profile is set up as follows:

Profile-Setup-During-Ubuntu-22-04-Server-Installation

Later, we will use this user to log in to the system, which has sudo permissions by default.

9. Install OpenSSH Server

Select Install OpenSSH Server, select Done and press enter to start the installation.

Choose-Install-OpenSSH-Server-During-Ubuntu-Server-22-04-Installation

(Optional) Select a server snapshot based on the environment you want to build during installation. You can skip this step if you don't want to configure it during installation.

Server-Snaps-Ubuntu-22-04-Server-Installation)

10. Start installation

The actual installation begins in this step

Ubuntu-Server-22-04-Installation-Progress

Once the installation is complete, the installer will instruct you to restart the system.

target

Select “Reboot Now” to reboot the system.

Note: Don't forget to change the boot media from USB to hard drive via BIOS settings.

11. Log in to the system

When the system reboots we will see the following login screen, log in using the username and password we set earlier.

Insert image description here

Guess you like

Origin blog.csdn.net/MrKingloveyou/article/details/132855721
Recommended