Installing Ubuntu Server

This chapter provides a complete walkthrough for installing Ubuntu Server. Unlike Windows Server, the Ubuntu Server installer uses a text-based interface. You will use your keyboard's arrow keys, the Tab key, and Enter to navigate and make selections.

Installation requirements

Before you start, please ensure you have the following:

Step-by-step installation guide

From the KVM console, you will see the server boot from the mounted ISO file.

  1. After a few moments, the GNU GRUB boot menu will appear. With Try or Install Ubuntu Server highlighted, press Enter.

Proceed through the installation wizard

The text-based installer will now load. Use the arrow keys to move and Enter to confirm your selections.

1

Select Language

Choose your preferred language on the installer welcome screen and press Enter.

2

Configure Keyboard Layout

Select your keyboard layout or use the "Identify keyboard" option to detect it automatically. When done, navigate to Done and press Enter.

3

Choose Type of Installation

Select the desired installation type.

4

Verify Network Configuration

The installer will auto-configure networking via DHCP. Check that the network interface (e.g., enp0s3) has received an IP address. Navigate to Done and press Enter.

5

Configure Proxy (Optional)

If your environment requires a proxy to access the internet, enter it here. Otherwise, leave it blank and select Done.

6

Confirm Ubuntu Archive Mirror

The installer will suggest a default package mirror. You can typically accept the default. Select Done.

7

Guided Storage Configuration

Choose how to partition your disk.

8

Review Storage Configuration Summary

Carefully review the partition layout. Make sure the correct target disk is selected.

9

Confirm Destructive Action

This is the final warning before erasing the selected disk. Navigate to Continue and press Enter.

⚠️ Warning: This step is irreversible. All existing data on the disk will be permanently deleted.

10

Create Administrator Profile

Enter the following information:

  • Your name

  • The server’s hostname

  • A username

  • A strong password

11

Wait for System Installation

The installer will now copy files and install the operating system. This process will take several minutes.

12

Complete Installation and Reboot

Once the installation completes, you'll see an "Installation complete!" message. Navigate to Reboot Now and press Enter.

Post-installation checks

After the server reboots and you log in with the user account you created:

  • Check for Updates: Run sudo apt update followed by sudo apt upgrade to install the latest security patches and software updates.

  • Verify Network Services: Ensure critical services like SSH are running by checking sudo systemctl status ssh.

  • Review System Logs: Use the journalctl -f command to check for any errors that may have occurred during the first boot.

Last updated

Was this helpful?