Install Ubuntu Server 24.04 LTS

With the recent release of Ubuntu Server 24.04 LTS, I thought I’d get a jump on my walk through for installation since I’m currently building out new servers for my Proxmox migration.

My Linux server distribution of choice is Ubuntu Server. I just like the command structure, the folder structure and using nano for text editing. LTS (which stands for Long Term Support) is the version I usually install on new servers because even if I don’t plan on keeping it around until support expires, it’s good to know I have support even if the server ends up having a very long life. This walk through will guide you through the clean install of the OS on a new server. I plan on doing an article on how to upgrade an existing server to 24.04 so stay tuned for that.

This walk through will be very similar to my Install Ubuntu Server 22.04 LTS article as they haven’t changed much about the installation. I will let you know some of the settings and features that have changed in recent install releases.


Downloading ISO

Here is the direct link to the Download Ubuntu Server website.

To download the ISO file, simple click the “Download 24.04 LTS” button.

If you choose to download it using Torrents to ease the load on their servers, scroll down to the “Alternative downloads” section and grab the torrent file.

You can also find the 22.04.4 & 20.046 LTS versions down there.

Once you click the button, give it a few seconds to start downloading. Once finished, put it somewhere your hypervisor of choice can access it. If you are installing it on bare metal, you can flash it to a USB drive with a utility like Rufus.

Then simply boot the server onto the install media.

Installing OS

The first screen you should see is the GNU GRUB boot manager. Press “Enter” to select “Try or Install Ubuntu Server” or wait 30 seconds for it to load automatically.

Wait for the server to load all the files into memory and load the install interface.

On the “Keyboard configuration” screen, select your language if it is something other than English and press “Enter” to continue.

On the “Choose the type of installation” screen, select either the full install of the OS or you can select the “minimized” version if you know what you are doing and are using this server for a specific task. I recommend just doing the full install. Arrow down to “Done” and press “Enter” to proceed.

A new feature to this version is the “Search for third-party drivers”. I have no need for this and I’m pretty sure most people don’t so just skip this and see if your install works fine without it. I haven’t had an installation fail yet because of drivers.

On the “Network configuration” screen, you will want to setup the network interface with the IP and DNS settings for the server. If you have DHCP setup on the network the server is on, it will pull the information automatically. Since this is a server, it is usually recommended to set a static IP address so it doesn’t accidently change and you loose connection.

To set a static IP, select the interface you want to edit and arrow down to “Edit IPv4” and press “Enter”.

With “Automatic (DHCP)” highlighted, press “Enter”.

Arrow down to “Manual” and press “Enter”.

On the configuration page, enter in the following information based on your network:

  • Subnet – Enter the subnet for the network you are connected to. This outlines the whole network so the last number will probably be zero followed by a “/” and the subnet mask for the network. If you need help figuring this out, check your router configuration or search online to find the right mask.
  • Address – This will be the exact IP address of the server.
  • Gateway – This is the IP address of the router interface for the network the server is connected to.
  • Name servers – These will be the IP addresses of the DNS servers you want to use. You can enter more than one DNS server, just separate them with a “,”.
  • Search domains – This is optional. If you don’t know what yours is or don’t have one setup, just leave it blank.

Arrow down to “Save” and press “Enter”.

The server will take you back to the “Network configuration” screen where you should now see the static IP address you set under the interface name. Arrow down to “Done” and press “Enter” to proceed.

On the “Proxy configuration” screen, this is another optional field. If you don’t have one, arrow down to “Done” and press “Enter” to proceed.

On the “Configure Ubuntu archive mirror” screen, the default URL is fine unless you want to change it to a mirror you know and want to use. Arrow down to “Done” and press “Enter” to proceed.

One nice feature they added to the installation is the mirror test. Assuming all your network configurations are correct and the server has access out to the Internet, it will run a test to verify that it can see and fetch information from the mirror server. When you see “This mirror location passed tests.” directly under the address, you are ready to continue with the install. If you get an error, you will want to check your network configuration unless the server isn’t suppose to have Internet access.

On the “Guided storage configuration” screen, I usually keep “Use an entire disk” selected and set the disk to the drive I want to boot the OS from. Here you can also choose to encrypt the drive if that is a requirement for this server.

Linux disk partitioning can be confusing if you don’t know what you are doing so I recommend just letting the installer make the partitions instead of doing a “Custom storage layout”.

Arrow down to “Done” and press “Enter” to proceed.

The system will now look at your drive and figure out the best partition layout. One thing I noticed after doing a few of these installs is it doesn’t by default use 100% of the drive space available. We will want to edit the “ubuntu-lv” by highlighting it and pressing “Enter”.

Highlight “Edit” and press “Enter”.

Now arrow down to the “Size” field and make it match the “max” size of the available space. Make sure you add the “G” at the end of the number. Arrow down to “Save” and press “Enter” when finished.

Back on the “Storage configuration” screen, look everything over and confirm that it’s using the max amount of drive space to match the “ubuntu-vg”. Arrow down to “Done” and press “Enter” to continue.

The installer will now pop up a caution message about destroying all the existing data on the drive. Confirm you want to continue by selecting “Continue”.

On the “Profile configuration” screen, enter the server and user information for logging into the server:

  • Your name – this can be anything you want to use to describe your main user.
  • Your server’s name – this is the name of the server that will be linked with the DNS information for communicating with the server.
  • Pick a username – this is the actual username you will enter when logging into the server.
  • Choose a password & Confirm your password – enter the password you want for the user account when logging in.

Arrow down to “Done” and press “Enter” to proceed.

Another new screen with more recent versions of Ubuntu Server is the “Upgrade to Ubuntu Pro”. Ubuntu Pro gives you better Enterprise level support and enhanced security for your server. You can read all about Pro HERE. I don’t use Pro so I just leave it on “Skip for now” and “Continue”.

On the “SSH configuration” screen, you can choose to install SSH on this server for remote login. I always do this on new servers because it’s my preferred way of accessing the server. Also, it’s a lot easier to install it now then try do it after the fact.

Check the box next to “Install OpenSSH server”. If you want to Import a SSH key to better secure your connection, you can do that here also if you choose.

Arrow down to “Done” and press “Enter” to proceed.

On the “Featured Server Snaps” screen, you can select applications to be installed during the OS install process. I don’t usually use this option even if I’m going to be installing an application listed because I prefer to control the install process. Arrow down to “Done” and press “Enter” to proceed.

Once you get to the “Installing system” screen, at this point the server OS is being written to your drive. Simply let it process and download any updates it needs.

Once the title changes to “Installation complete!”, your server is all installed and ready to use. Arrow down to “Reboot Now” to do a full system restart.

The server will then attempt to unmounting the install media and clearing out the files from memory. You will probably get a message saying “Failed unmounting cdrom.mount” and to “Please remove the installation medium, then press ENTER”. At this point you will want to unmount the ISO file from the server or remove the USB drive from the server. Then press “Enter” to finish the reboot process.

After the server boots off the disk you installed the OS, you should see something that looks like the message below if you installed SSH. Press “Enter” to get the login prompt. Login with the username and password you set on the “Profile configuration” screen.

Once you login, you should see a screen similar to below. Your server is now installed and ready for you to deploy applications, Docker containers, Websites or whatever you want to use it for.

You may notice that even though the server updated during installation, you may still have updates ready to be installed. You can use the following command to update the package index, install the available upgrades and then reboot the server all in one command.

sudo apt update && sudo apt upgrade -y && sudo reboot now

If you get the “Restart Services” purple screen, just press “Enter”. We don’t care about restarting services because the command will restart the whole server.


Hopefully this helps you on your tech journey. New operating systems are always fun to play with. Let me know in the comments below how you plan to use 24.04.

If you need a walk through on stuff to do after you install Ubuntu Server, HERE is an article I wrote that can hopefully push you in the right direction.

Related Posts

Adding a Secondary 10Gbps Interface to Ubuntu Server 24.04

Just want to start this article by saying I’m definitely not a Linux expert. I had to find this information online, piecing together a few different sources…

Upgrade Ubuntu Server 22.04 LTS to 24.04 LTS

Most of the time, my Ubuntu Servers are running Docker so when a new release comes out, it’s usually easier and cleaner to just build a brand…

Install Ubuntu Server 23.10

As I said in my Install Ubuntu Server 22.04 LTS walk through, Ubuntu Server is my Linux server platform of choice. I know not everyone agrees with…

Things I do after installing Ubuntu Server

This will be a basic configuration tutorial on the steps I take after doing a clean install of Ubuntu Server. This could be on a physical PC,…

Installing Ubuntu Server 22.04.1 LTS on a Raspberry Pi 4

Installation First, we need to download the “Raspberry Pi Imager” and install it on the PC you are using to set everything up and manage your systems….

Automatically Mount a Windows Share on a Linux Server

On my network, I prefer to us Windows File Servers when sharing any files because of my use of it in the past as part of my…

Leave a Reply

Your email address will not be published. Required fields are marked *