Installing Ubuntu Server
Introduction
Ubuntu Server is a free, open-source Linux distribution based on Debian. It is designed to be used as a server operating system and is used by many organizations worldwide. In this guide, we will walk you through the process of installing Ubuntu Server 24.04, however the steps are be similar for other versions of Ubuntu Server.
Prerequisites
- A system with a minimum of 2 GHz dual-core processor, 1024 GB of RAM, and 5 GB of free disk space. System Specs (opens in a new tab)
- A bootable USB drive with Ubuntu Server 24.04 ISO image. You can download the official ubuntu server ISO here (opens in a new tab). If you are unsure how to create a bootable USB drive, you can follow our guide on creating a bootable USB drive using Rufus or creating a bootable USB drive using Ventoy.
This guide will show you how to install Ubuntu Server 24.04 on Proxmox VE.
The steps are similar for a bare-metal installation.
Step-by-Step Guide
Boot from your USB drive
If you are installing Ubuntu Server on a physical machine, insert the bootable USB drive into the USB port of your system. If you are installing Ubuntu Server on a virtual machine, attach the Ubuntu Server ISO image to the virtual machine.
- Power on your system and press the appropriate key to access the boot menu.
THe key to access the boot menu varies depending on the manufacturer of your
system. Common keys include
F2,F12,ESC, orDEL. For more details, on how to boot from a USB drive, please refer to our guides on bootable USB drives, listed in the prerequisites section.
Install Ubuntu Server
Since this gudies covers installing Ubuntu Server on Proxmox VE, we will be using a virtual machine.
Follow the Proxmox VE guide to create a new virtual machine.
-
Power on the virtual machine and select
Try or Install Ubuntu Serverfrom the boot menu. -
Select your preferred language and press
Enter. -
Select your preferred keyboard layout and press
Enter. -
On the
Choose the base for the installationscreen, selectUbuntu Serverand pressEnder. -
If you wish to configure a static IP address, which is highly recommended for servers, use the arrow keys or tab to navigate to the interface you wish to configure. The interface name will be displayed in the format
enp0s3orens3. Select the interface and pressEnter, from there selectEdit IPv4and pressEnterone more time.- From the dropdown menu, select
Maual. Enter the IP address, subnet mask, gateway, and Name servers. Once you have entered the required information, use your arrow keys or tab to selectSaveat the bottom of the windows and pressEnter. Next, selectDoneand pressEnder.
- From the dropdown menu, select
Subnet: 192.168.0.0/24
IP address: 192.168.0.200
Gateway: 192.168.0.1
Name servers: 192.168.0.1
-
This guide will not cover proxy configuration, or archive mirror configuration therefore, on this and the next page, select
Doneand pressEnder. -
On the
Guideed storage configurationscreen, leave the default optionUse an entire diskselected. If you have multiple disks, you can select the disk you wish to use for the installation, from the dropdown menu. Once you have selected the disk, selectDoneand pressEnter. -
The
Storage configurationscreen will display a summary of the changes that will be made to the disk. For more advanced storage configurations, please refer to the official Ubuntu Server documentation (opens in a new tab). SelectDoneand pressEnter. Next, selectContinueand pressEnter. -
On the
Profile configurationscreen, enter your name, server name, username, and password. These details will be used to create the first user account on the system. Once you have entered the required information, selectDoneand pressEnter. -
Skip the
Upgrade to Ubuntu Proscreen. SelectDoneand pressEnter. -
If you wish to use the OpenSSH server, select
Install OpenSSH serverusing you spacebar. You may also import SSH keys from GitHub or Launchpad. Once you have made your selection, selectDoneand pressEnter. -
On the
Featured server snapsscreen, you can select additional snaps to install. We will not be selecting any additional snaps for this guide. SelectDoneand pressEnter. -
The system will now begin installing. Once the installation is complete, select
Reboot Nowand pressEnter. The system will reboot.
You need to removed the installation media, for the system to boot from the disk you installed Ubuntu Server on.
If you are using a virtual machine, you can remove the ISO image from the virtual machine Hardware settings.
- Once the system has rebooted, you will be prompted to log in. Enter the username and password you created during the installation process.
Conclusion
Congratulations! You have successfully installed Ubuntu Server 24.04. You can now log in to your server using the username and password you created during the installation process. If you have any questions or need further assistance, please refer to the official Ubuntu Server documentation (opens in a new tab). You may also want to check out our guide on Adding or Modifying list of NTP Servers or Modifying Sudoers
Select Done and press Enter. :)