Tested on Ubuntu Server 26.04.1 LTS (kernel 7.0.0-44-generic), fresh install from the server ISO.
Hi everyone, this time I’m picking up the Ubuntu Server 26.04 series right where the installer left off. You’ve just finished the setup, the login prompt is blinking at you, and the server technically works. But “works” is not the same as “ready”. The package list is already out of date, the clock is set to UTC, and you probably have no idea yet which ports are open or how much of your disk the installer actually used.
There are times when skipping these first checks comes back to bite you. A cron job runs seven hours too early because the timezone was never set. The root partition fills up at 29 GB while another 29 GB sits unused in the volume group. Or you apply a pile of updates, everything looks fine, and nobody notices that half of the services are still running old code.
So, you’re ready to get a fresh Ubuntu Server 26.04 into shape? Read on to get guidance on the things I do on every new install: updating the system properly, reading the restart and reboot hints, checking the hostname, setting the timezone, auditing services and open ports, finding unused LVM space, confirming automatic security updates, adding a few tools, and testing access from another PC. I ran every command below on a real server, and the screenshots are from that session.
Before You Start
The server in this article is a plain install of Ubuntu Server 26.04.1 with the OpenSSH server option ticked, a user called mamang, and an IP from DHCP. If you still need to install it, my guide on how to install Ubuntu Server 26.04 LTS for SSH access walks through every installer screen. Nothing here needs a desktop. You only need the console or an SSH session and the password of your user.
Some topics deserve a full article of their own, and I already wrote those. Where a step overlaps with one of them (SSH keys, the firewall, a static IP, swap), I’ll only show the quick check and point you to the full guide, so this checklist stays focused on what a fresh server actually needs on day one.
Note: On Ubuntu 26.04 the sudo prompt looks a little different. Instead of the old “[sudo] password for mamang:”, you’ll see “[sudo: authenticate] Password:”. Nothing appears while you type the password, not even stars. That’s normal, just type it and press Enter.
Check the version and IP address

First, make sure you’re on the release you think you’re on, and note the IP address of the server. You’ll need the IP later to connect from another computer.
lsb_release -d
ip -br aThe Description line shows Ubuntu 26.04.1 LTS. In the ip output, ens33 is the network card and 192.168.207.133 is the address it got from the router. Your interface name and IP will be different, so write yours down.
How to Update Ubuntu Server 26.04 After Installing
The ISO you installed from was built weeks or months ago. Every package on it has had time to collect fixes, and some of them are security fixes. That’s why updating comes first, before you install or configure anything else.
Updating on Ubuntu is a two step job. apt update only refreshes the list of what’s available. apt upgrade is the part that actually downloads and installs the newer packages. If you want the longer explanation of these commands, run man apt on the server for the full list of options.
Refresh the package list

Run the update command. sudo will ask for your password once, and then remember it for a few minutes.
sudo apt updateAfter a few moments you will see the Hit and Get lines as apt talks to the Ubuntu mirrors. On my server the last line said 67 packages can be upgraded. That’s on a server that was installed only recently, so don’t be surprised if your number is even higher.
See what will be upgraded

If you’re curious what those packages are, list them before you install anything.
apt list --upgradableEach line shows the package name, the pocket it comes from, the new version and the version you have now. Packages from resolute-security are security fixes (resolute is the code name of 26.04). The ones from resolute-updates are regular bug fixes. On my list there were core pieces like fdisk, libblkid1 and fwupd.
Install the updates

Now run the actual upgrade.
sudo apt upgradeapt prints the full package list and then a Summary. Mine said Upgrading: 67, Installing: 0, Removing: 0, with 17 standard LTS security updates and a 65.1 MB download. It stops at Continue? [Y/n]. Type y and press Enter. If you’re scripting this, sudo apt upgrade -y skips the question, but on a new server I like to read the summary first.
Read the service restart report

When the upgrade finishes, Ubuntu runs a tool called needrestart. Basically, it looks for programs that are still running the old version of a library that was just replaced, and restarts them for you. You will see Restarting services followed by the services it restarted on its own, like cron, rsyslog and polkit.
The part that most guides skip is Service restarts being deferred. These are services needrestart decided not to touch automatically, because restarting them could cut you off. On my server that was systemd-logind, dbus, networkd-dispatcher, unattended-upgrades and a few others. It also listed my own login session under User sessions running outdated binaries. The line Running kernel seems to be up-to-date tells you the kernel itself didn’t change.
My experience: I almost restarted the deferred services one by one with systemctl, but restarting dbus or systemd-logind over SSH is a good way to lose your session. On a fresh server with nobody else using it, a reboot is simply the cleaner way to load everything at once.
Check whether a reboot is required

Ubuntu creates a file called /var/run/reboot-required when an update really needs a reboot, mainly kernel and core library updates. A second file, reboot-required.pkgs, lists which packages asked for it.
ls /var/run/reboot-required*
cat /var/run/reboot-required.pkgsOn my server both commands said No such file or directory. That means none of the 67 updates demanded a reboot, which matches the kernel message from the previous step. If you see the file, plan a reboot before you put the server to work.
Remove packages that are no longer needed

Earlier, apt also mentioned some packages that were automatically installed and are no longer required. Here they were an older kernel, 7.0.0-30, plus its headers and tools. Clean them up.
sudo apt autoremoveapt shows the REMOVING list and Freed space: 321 MB. Type y and press Enter. Ubuntu always keeps the kernel you’re running and the newest one, so autoremove won’t take away the kernel you booted from.
Reboot and confirm

Even without the reboot-required file, I rebooted because of the deferred services. Log back in afterwards and check.
sudo reboot
uptime
uname -ruptime shows up 0 min, so the server really restarted, and uname -r still shows 7.0.0-44-generic. Every service is now running the updated code.
How to Check the Hostname on Ubuntu Server
The hostname is the name the server uses for itself. It shows up in your prompt, in log files, and in the SSH host key comment. It’s worth checking now, because changing it later means hunting down every place where the old name was used.
There are two kinds of hostname on a systemd system. The static hostname is saved in /etc/hostname and survives a reboot. The transient hostname is the one the kernel is using right now, and it can be changed for the current session only. Normally they’re the same.
Check the static and transient hostname

hostname
cat /etc/hostname
hostnamectl --static; hostnamectl --transient
grep 127.0.1.1 /etc/hostsAll four answers say ubuntu-server, and /etc/hosts has the matching 127.0.1.1 ubuntu-server line. That line lets the server resolve its own name without asking a DNS server.
My experience: Look closely at the earlier screenshots: before the reboot my prompt said mamangdigital-server, and after the reboot it said ubuntu-server. /etc/hostname held ubuntu-server, so the other name had only been set for the running session and disappeared on reboot. If you want to rename a server, use sudo hostnamectl set-hostname newname, then update the 127.0.1.1 line in /etc/hosts. Don’t just use sudo hostname newname, because that one doesn’t stick.
I kept the name ubuntu-server, since the rest of this series uses it.
How to Set the Timezone on Ubuntu Server 26.04
Ubuntu Server installs with the timezone set to UTC. That’s fine if every server you run is in UTC, but if you read logs in local time or schedule cron jobs for “2 AM”, a wrong timezone will confuse you sooner or later.
The tool for this is timedatectl. It shows the local time, the UTC time, the timezone, and whether the clock is being kept in sync over the network. Changing the timezone doesn’t change the actual time, it only changes how the time is displayed.
Check the current time settings

timedatectl
timedatectl list-timezones | grep Asia/JTime zone shows Etc/UTC (UTC, +0000). Below it, System clock synchronized: yes and NTP service: active, which means the clock is already being corrected over the internet. The second command searches the long list of timezones. I’m in western Indonesia, so I need Asia/Jakarta. Replace the search with your own region, for example Europe/ or America/.
Set the timezone

sudo timedatectl set-timezone Asia/Jakarta
timedatectl
dateThere’s no message when it works. Run timedatectl again and Time zone now reads Asia/Jakarta (WIB, +0700), the Local time is seven hours ahead of Universal time, and the clock is still synchronized. date shows WIB as well. Programs that started before the change, cron included, may keep the old timezone until they restart, so a reboot or a restart of cron is a good idea if you already have jobs scheduled.
How to Check Running Services and Open Ports
A fresh server should be quiet. Before you add anything to it, take a look at what’s already listening for network connections. That way you have a clean picture to compare with later, and you’ll notice right away if something opens a port you didn’t expect.
The command for this is ss, which replaced the old netstat. The options -tulpn mean TCP, UDP, listening sockets, the process that owns them, and numeric ports instead of service names.
List the listening ports

sudo ss -tulpnHere’s how to read it. The Local Address:Port column tells you where a service is listening. 0.0.0.0:22 and [::]:22 mean SSH is reachable on every network card, IPv4 and IPv6. Notice that the process is systemd, not sshd. On Ubuntu 26.04 SSH is socket activated: systemd holds port 22 and only starts the SSH daemon when someone connects.
Everything else is local only. 127.0.0.53 and 127.0.0.54 on port 53 belong to systemd-resolved, the local DNS cache. Port 323 on 127.0.0.1 is chronyd, the time sync service. Port 68 is the DHCP client. So on a fresh install, SSH is the only door open to the network.
Check for failed services and time sync

systemctl --failed
systemctl is-active ssh.socket ssh.service chrony
chronyc tracking | head -n 40 loaded units listed means no service failed during boot. The second command confirms the socket activation story: ssh.socket is active while ssh.service is inactive, because nobody is connected over SSH at that moment. chrony is active, and chronyc tracking shows it syncing with ntp-nts-2.ps5.canonical.com. Ubuntu 26.04 uses chrony with NTS, an authenticated form of NTP, out of the box, so you don’t need to install a time sync service yourself.
How to Check Disk Space and Unused LVM Space
This is the check that surprises people the most. When you choose the default “Use an entire disk” layout with LVM, the Ubuntu installer does not give the whole disk to the root filesystem. It creates the volume group on the full partition, but the root logical volume only gets part of it. The rest stays free in the volume group.
That’s not a bug. It leaves room for snapshots or extra volumes later. But if you don’t know about it, you’ll see a “disk full” warning on a server that still has plenty of space it never used.
Compare the root size with the volume group

df -h /
sudo vgs
sudo lvs
lsblk -e7 -o NAME,SIZE,TYPE,MOUNTPOINTS
swapon --show; free -hOn my 60 GB disk, df shows the root filesystem at 29G with 7.0G used. sudo vgs shows the volume group ubuntu-vg at 58 GB with VFree 29.00g. So almost exactly half of the space is just sitting there. lsblk tells the same story: sda3 is 58G, but ubuntu-lv on top of it is only 29G.
I’m not going to extend it in this article. Growing an LVM volume is a separate job with its own checks, and I’ll cover it in a dedicated guide on extending an LVM volume in this series. For now, just write down how much VFree you have, so you know the space is there when you need it.
The last command shows swap. The ISO installer already created a 4 GB swap file at /swap.img, so there’s no need to add one right away. If you ever want a bigger one, resize it later instead of adding a second swap file next to it.
How to Check Automatic Security Updates
You just installed 67 updates by hand. You don’t want to do that every week, and you definitely don’t want security fixes to wait until you remember. Ubuntu Server ships with unattended-upgrades for exactly this reason.
On 26.04 it’s installed and enabled by default, but it’s worth confirming, because some installs and cloud images change it. I’ll go into the settings (automatic reboots, email reports, blacklisting packages) in the next article of this series. Here, we only check that it’s on.
Confirm unattended upgrades is on

systemctl is-enabled unattended-upgrades
cat /etc/apt/apt.conf.d/20auto-upgrades
systemctl list-timers apt-daily*enabled means the service starts at boot. The two lines in 20auto-upgrades, Update-Package-Lists “1” and Unattended-Upgrade “1”, mean apt refreshes the package list and installs security updates every day. The timers show when that happens next. Press q to leave the timer list if it opens in a pager.
How to Install a Few Basic Tools
Ubuntu Server is deliberately small. Some tools you’ll reach for all the time are already there, and some aren’t. Instead of installing a long list “just in case”, check what you have first.
Check which tools are installed

This little loop checks a handful of packages I use on almost every server.
for p in curl wget git htop tree ncdu unzip bash-completion; do printf '%-16s' $p; dpkg -s $p >/dev/null 2>&1 && echo installed || echo missing; donecurl, wget, git, htop and bash-completion are already on 26.04. tree, ncdu and unzip are missing.
Install the missing ones

sudo apt install -y tree ncdu unzipThat’s under 300 kB in total. tree shows folders as a tree, ncdu shows what’s eating your disk in an interactive list (super handy when that root filesystem starts filling up), and unzip opens .zip files that people will inevitably send you. This time needrestart reports No services need to be restarted, because nothing that was running got replaced.
How to Review SSH and the Firewall
Two more things on a fresh server deserve your attention, but both have their own full guides on this site, so here I only check where they stand.
The firewall and SSH login settings are the ones that can lock you out if you change them in the wrong order. That’s why I strongly recommend following the dedicated guides step by step instead of copying a few lines from a checklist.
Check the firewall and SSH login settings

sudo ufw status
sudo sshd -T | grep -E '^(port|passwordauthentication|permitrootlogin) 'UFW is installed but Status: inactive, so nothing is being filtered. SSH runs on port 22, root can’t log in with a password (prohibit-password), but passwordauthentication yes means any user can still log in with just a password. On a server that can be reached from the internet, that’s the first thing I would change. Set up key login first with my guide to configure the SSH server on Ubuntu 26.04 with SSH keys, and only then turn on the firewall with how to enable UFW on Ubuntu 26.04 without losing SSH.
How to Test SSH Access from a Windows Client PC
The last check is the one that proves the server is actually usable: logging in from another computer. I did this from a Windows client PC on the same network, using the ssh command that comes built into Windows.
The first time you connect, SSH shows a fingerprint of the server’s host key and asks if you trust it. Most people just type yes. It takes ten seconds to check it properly, so let’s do that.
Read the host key fingerprint on the server

On the server console, print the fingerprint of the ED25519 host key.
ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pubThe important part is the SHA256 string. Mine starts with SHA256:qGAlcg42.
Connect from Windows and compare the fingerprint

On the Windows PC, open PowerShell or Terminal and connect with your user name and the server IP.
ssh mamang@192.168.207.133Windows shows ED25519 key fingerprint is SHA256:qGAlcg42… and it matches the one from the server exactly. Only then type yes. SSH saves the key in your known_hosts file and asks for the password of the mamang user.
Run a quick check over SSH

Once you’re in, the prompt changes to mamang@ubuntu-server. Run a couple of commands to make sure you’re on the right machine.
hostname; date; systemctl is-system-runningThe hostname is ubuntu-server, the date is already in WIB, and running means systemd finished booting with nothing in a failed state. Type exit to close the session.
Common Problems and How to Fix Them
These are the things I ran into, or that showed up on screen, while working through this checklist.
The hostname goes back to the old name after a reboot
That’s what happened to my mamangdigital-server prompt. The name was set for the running session only, while /etc/hostname still had the old one. Set it with sudo hostnamectl set-hostname yourname, which writes /etc/hostname for you, and then edit the 127.0.1.1 line in /etc/hosts with sudo nano /etc/hosts so the two match.
apt upgrade lists services under “Service restarts being deferred”
It’s not an error. needrestart left those services alone on purpose because restarting them could drop your session. You can restart a single one with sudo systemctl restart name.service, but the simplest fix on a new server is a reboot when it suits you.
Log and cron times are seven hours off
The timezone is still UTC, or it was changed after the program started. Check with timedatectl, set it with sudo timedatectl set-timezone Your/Zone, then restart the service that’s showing the old time, for example sudo systemctl restart cron, or simply reboot.
Windows says “REMOTE HOST IDENTIFICATION HAS CHANGED”
You’ll see this if you reinstall the server and keep the same IP. The new install has a new host key, and Windows still remembers the old one. Check the new fingerprint on the server as shown above, then remove the old entry on the Windows PC.
ssh-keygen -R 192.168.207.133I ran this command on my client PC after testing, and it removed the saved entries for that IP and kept a backup in known_hosts.old.
The root filesystem is full but the disk is bigger
Run sudo vgs. If VFree shows free space, the installer simply didn’t assign it to the root volume. The space is yours, it just needs to be added to the logical volume.
This concludes my first round of checks after installing Ubuntu Server 26.04. The system is fully updated, the old kernel is gone, the timezone is correct, you know which ports are open and how much LVM space is waiting, automatic security updates are on, and you’ve confirmed you can reach the server from another PC. Next, you would probably want to give the server a fixed address by following my guide to set a static IP on Ubuntu Server 26.04 with Netplan, so the IP you just connected to doesn’t change after the next router restart. If something on your server looked different from my screenshots, or you hit an error I didn’t cover, drop it in the comments and we’ll work it out together.












