Table of contents
- Prerequisite
- System Requirement
- Create a Bootable USB Drive
- Select your language
- Select your preferred keyboard layout
- Choose Installation type
- Network Configuration
- Mirror Configuration
- Configure Proxy
- Disk Partitioning
- Create a User Account
- Install the OpenSSH server & additional software
- Finish the Installation and Reboot
Prerequisite
Download the Ubuntu 24.04 LTS ISO. Download
System Requirement
Processor: 2 GHz dual-core processor or better
Memory (RAM): 4 GB minimum (8 GB recommended for smoother performance)
Storage: 20 GB of free space (50 GB recommended for full installation)
Create a Bootable USB Drive
To install Ubuntu, you'll need to create a bootable USB drive using the ISO file.
On Windows:
Download and install Rufus.
Insert your USB drive and open Rufus.
Select the Ubuntu ISO file, set the partition scheme (GPT or MBR), and click Start.
Boot from USB, and Try or Install Ubuntu from the GRUB menu
Select your language
Once the system has finished booting, select your preferred installation language. By default, this is set to English.
Select your preferred keyboard layout
Next, select your preferred layout. The default selection for the layout and variant is English (US).
Choose Installation type
The next step will require you to select your preferred installation type. By default, the “Ubuntu Server” option is selected. In addition to that, you can also choose the “Ubuntu Server (“minimized”) option which is a version customized to have a small footprint in environments that do not require login by users.
Network Configuration
In this step, you need to configure at least one active interface for network and internet connection. Active connections will be displayed with corresponding IPv4 addresses since DHCP is selected by default.
In our setup, “ens33” is the only active network interface. Instead of DHCP, we can also configure a static IP address.
Mirror Configuration
The installer will perform a mirror test by updating the package index. The default mirror address is archive.ubuntu.com/ubuntu which is just fine. You can also provide an alternative mirror instead of the default one.
Configure Proxy
If you intend to connect to a Proxy server, here’s the chance to provide your Proxy server address. If you are not running a proxy server, leave it blank
Disk Partitioning
In this step, you will be required to configure disk partitions. By default, guided storage is selected. This auto-partitions your hard drive using the most recommended settings based on the size of your drive.
The other option – “Custom storage layout” – lets you manually specify the partitions including the partition type and size.
The partition table will be displayed next. If all looks good, select Done
and hit ENTER. Otherwise, if you need to make some changes, select Reset
and hit ENTER to head back and make the needed adjustment.
On the pop-up window that appears, select Continue
and hit ENTER to write the changes to disk.
Create a User Account
Next, you will be required to create a user account. So, provide the required details including your name, the server’s name, username, and password, and hit ENTER to move to the next step.
Install the OpenSSH server & additional software
Next, select whether you want to install the OpenSSH server which will allow remote login to the server. In our case, we will select to install it. Once selected, select Done
and hit ENTER.
Next, you will be required to select whether to install some featured applications in the form of snaps. So go through the list and enable your preferred snap. Alternatively, you can skip and install them later.
For now, we will not install snaps. So, select Done
and hit ENTER.
Finish the Installation and Reboot
From here, the installer will copy all the files from the bootable medium, install them on your hard drive and configure all the required settings.
Finally, select Done
and hit ENTER to reboot.
Once the system has rebooted, provide your user account’s password and hit ENTER to log in.
Congratulation!! you can enjoy your first Ubuntu server 24.04