"Resolute Raccoon". Practical tips, commands, and things worth knowing for running, securing, and administering Ubuntu Server 26.04 LTS, organized by area.

In 26.04 the user account is created earlier in the install flow, which fixes earlier crashes in virtual machines. Let the installer detect and install OEM/HWE drivers automatically when needed — tick the option when offered instead of installing drivers manually afterward.
For repeat server installs, build an autoinstall.yaml and serve it via a simple HTTP server or a USB stick. This lets you install identical servers with no interaction. Example: sudo cloud-init status --wait to verify the autoinstall process has finished before continuing provisioning.
At install time, pick the minimal variant if your cloud provider offers it — fewer preinstalled packages means a smaller attack surface and a faster boot.
Ubuntu 26.04's new TPM-bound full-disk encryption (the flow where the key is sealed to the TPM chip and the disk unlocks automatically at boot with no password) shipped for Desktop, not Server — don't plan around it for a headless install. If you still want disk encryption on a server, standard LUKS plus dropbear-initramfs remains the practical path: it lets you unlock the encrypted root remotely over SSH during boot instead of needing physical or console access on every restart.
The default sudo implementation is now sudo-rs, a memory-safe Rust-based rewrite. It shows asterisks while you type the sudo password by default — a visible sign you're running the new version (disable via Defaults !pwfeedback if you prefer the old silent prompt). Test compatibility with any custom sudoers rules after upgrading.
Apache and Nginx reject TLS 1.0/1.1 by default in 26.04. If you have legacy clients relying on those protocols, you'll need to explicitly re-enable them in your server config — but consider whether you actually need to.
Example: edit /etc/netplan/*.yaml and run sudo netplan apply to apply changes without a reboot. Use sudo netplan try to test a config with automatic rollback if something goes wrong.
Chrony replaces systemd-timesyncd as the default in 26.04 for more accurate time synchronization. Example: chronyc tracking (current sync status), chronyc sources -v (list time servers).
Example:
ip addr show — show interfaces and IP addressesip route get 8.8.8.8 — see which route traffic to an address takesss -tulpn — show listening ports and processes26.04 introduces APT 3, where apt-key is fully removed. Manage repository keys via .gpg files in /etc/apt/keyrings/ instead of the old keyring system.
Example:
sudo apt autoremove — remove packages no longer neededsudo apt autoclean — clear old package files from the cachesudo apt full-upgrade — upgrade with smart dependency handlingSnap gives you sandboxed, self-updating packages — good for tools that need to stay current, but can mean higher memory usage. Example: snap list (see installed snaps), sudo snap refresh (update all).
Example: systemd-analyze blame (show which services take longest at boot), systemd-analyze critical-chain (see the critical dependency chain).
Example:
systemctl status service — status and recent log linessystemctl enable --now service — enable and start in one stepsystemctl mask service — prevent a service from being started by accidentExample:
journalctl -u service -f — follow a service's logs livejournalctl --since "1 hour ago" — logs from the last hourjournalctl -p err — only error messages26.04 has improved support for F2FS, exFAT, and EXT4 with better file cache handling — good for servers with heavy I/O workloads like databases or log aggregation.
Example: ncdu / — an interactive, fast overview of what's using space (install with sudo apt install ncdu).
Example: sudo apt install zfsutils-linux and sudo zpool create tank /dev/sdb — ZFS gives you built-in snapshotting, compression, and data integrity.
26.04 introduces two tracks: the Application Track for teams who want regular feature updates, and the Stable Track for production that needs predictable component versions. Choose deliberately based on how much change your environment can tolerate.
Example: sudo snap install lxd && lxd init — system containers with almost no overhead, a good alternative to full VMs for isolating services.
Example: curl -fsSL https://get.docker.com | sh followed by sudo usermod -aG docker $USER to run without sudo.
Example: write a user-data file with packages, users, and commands to run on first boot — the same method works on AWS, Azure, GCP, Oracle Cloud, and IBM Cloud.
Example: cloud-init status --long and sudo cat /var/log/cloud-init-output.log — see exactly what happened during provisioning.
26.04 has ready-optimized images for AWS, Azure, Google Cloud, IBM Cloud, and Oracle Cloud — always start from these instead of building your own images from scratch when possible.
Example: htop (install with sudo apt install htop) — interactive process monitoring, easier to read than top.
Example: sudo apt install iotop && sudo iotop — see exactly which processes are causing high disk load.
Example: sudo apt install sysstat and enable collection — sar -u 1 5 shows CPU load over time, useful for capacity planning.
Example: restic backup /etc /home /var/www against a local or cloud-based repository — fast, encrypted, and deduplicated.
Combine restic or rsync with a systemd timer instead of cron for better logging and error handling of backup jobs.
Example: pg_dump -Fc mydatabase > backup.dump for PostgreSQL 18 — use -Fc for a compressed format that supports selective restore.
Example: tmux new -s my-job — let processes keep running even if the SSH connection drops. Reconnect with tmux attach -t my-job.
Set PermitRootLogin no in /etc/ssh/sshd_config and use sudo for administrative tasks instead — significantly reduces the attack surface.
Example: ssh-add ~/.ssh/id_ed25519 — add your key to the agent once per session instead of typing the passphrase every time.
26.04 ships PostgreSQL 18 by default. Example: sudo apt install postgresql postgresql-contrib and sudo -u postgres psql to connect.
The new DocumentDB package provides MongoDB-like document storage on top of PostgreSQL — worth exploring if you need flexible, schema-less storage without introducing an entirely new database system.
Example: sudo apt install nginx mysql-server php-fpm — a common foundation for web applications on Ubuntu Server.
Example: sudo pro attach <TOKEN> — gives access to Expanded Security Maintenance (ESM), Livepatch, and compliance tooling (CIS, FIPS), free for up to 5 personal machines.
Example: pro status --all — a clear overview of which security services are enabled or available.
26.04 has improved WSL integration with cloud-init and Ubuntu Pro, making it easier to mirror a production server's configuration locally during development on Windows.
Related guides: 100+ Docker Tips & Tricks, 100+ Stealth & Safety Tips for Linux Users. From the books: Ubuntu Server, Distilled for Ubuntu Server in depth. All free guides are in the library.