Skip to content

Tutorials for Linux servers: Step by step, every command tested

Eighteen Guides for servers with Linux: Docker and Compose, Nginx as a reverse proxy with HTTPS, WordPress with PHP and MariaDB, fail2ban for SSH, Proxmox VE, scp and the basics in the terminal. Every step has a command to copy, and every command is tested.

Guides
18
with questions and typical errors
Tested with
Ubuntu
24.04 LTS and 26.04 LTS
Last tested
2 December 2026
Date is on every guide
Shortest
2 min.
the longest around 45 min.

All guides

  • How to install Docker on Ubuntu: Docker Engine and Compose

    ContainerFor beginnersabout 10 min

    By the end of this tutorial, Docker Engine from the official Docker repository will be running on your Ubuntu server, along with the Compose plugin and a first service. You need a server with Ubuntu 24.04 LTS or 26.04 LTS and a user with sudo privileges.

  • How to set up Nginx as a reverse proxy with HTTPS (Let’s Encrypt)

    Web serverFor beginnersabout 20 min

    Following this tutorial, Nginx will accept requests to your domain, pass them to an application on the same server, and serve everything over HTTPS with a Let’s Encrypt certificate. This is suitable for Node.js, Python, Go, or a container listening on a local port.

  • How to install WordPress on your own server: Nginx, PHP and MariaDB

    Web serverFor advanced usersabout 30 min

    This tutorial brings WordPress to your own server with Ubuntu: Nginx as the web server, PHP-FPM for WordPress, MariaDB as the database and a certificate from Let’s Encrypt. Finally, you will complete the setup in the browser, where you create the title and administrator.

  • How to set up fail2ban: protect SSH on Ubuntu against password guessing

    SecurityFor beginnersabout 10 min

    fail2ban monitors the login attempts on your server and bans addresses that try an incorrect password too often. Following this guide, it protects SSH access with custom values for ban duration and failed attempts, and you will know how to check and lift a ban.

  • How to install Proxmox VE: on a dedicated server or on Debian 13

    VirtualisationFor advanced usersabout 45 min

    Proxmox VE turns a server into a hypervisor for virtual machines and containers with a web interface. This tutorial shows two ways: the ready-made image on a dedicated server and the installation on a running Debian 13 — up to the first login on port 8006.

  • The scp command with examples: copy files over SSH

    Linux basicsFor beginnersabout 5 min

    scp copies files over an SSH connection — encrypted, with the same credentials as your login, and without an additional service on the server. This guide shows the commands for common use cases, each with an example to copy.

  • How to check your Ubuntu version, codename and kernel

    Linux basicsFor beginnersabout 2 min

    A single command in the terminal shows which Ubuntu version is running on a server. Here are the common ways with their output — for the version with point release, the codename, the kernel and the architecture.

  • How to remove a directory in Linux with rm and rmdir

    Linux basicsFor beginnersabout 5 min

    In Linux, you delete an empty folder with rmdir and a folder including its contents with rm -r. This tutorial shows both commands with their messages, the variants with and without prompting, and what to check before running rm -rf — because there is no recycle bin in the terminal.

  • How to create an SSH key and add it to your server

    SecurityFor beginnersabout 10 min

    An SSH key allows you to sign in without a password, and no one can guess your password. This tutorial generates a key on your machine, adds it to the server, and finally disables password authentication.

  • How to update Ubuntu and upgrade to the next LTS release

    Linux basicsFor beginnersabout 15 min

    A server only stays secure if it receives its updates. This guide shows the three stages: applying updates manually, running security updates automatically and switching to the next LTS release.

  • How to check disk space in Linux with df and du

    Linux basicsFor beginnersabout 10 min

    If the disk is full, databases stop writing and updates fail. This guide shows you how to check free space, find large folders, and clean up safely.

  • How to change the hostname on Ubuntu permanently

    Linux basicsFor beginnersabout 5 min

    The hostname appears in the command prompt, in logs and in the server's emails. This tutorial changes it permanently — without a reboot — and shows which file needs to match.

  • How to install Python and uv on Ubuntu

    Linux basicsFor beginnersabout 10 min

    Ubuntu comes with Python, but no longer allows pip to install into the system. This guide shows the way with a virtual environment and the faster way with uv, which manages packages, projects and Python versions in one tool.

  • How to install Ollama on Ubuntu: run your own LLMs with an API

    AI and language modelsFor advanced usersabout 15 min

    With Ollama, language models run on your own server — the data does not leave it. This tutorial installs Ollama as a service, loads a first model, calls it via the API and shows how to secure access.

How we test the guides

A guide with commands that do not work costs more time than it saves. That is why the same procedure applies to every page.

  1. Executed

    Wherever possible, we execute every command on fresh systems with Ubuntu 24.04 LTS and 26.04 LTS exactly as it appears on the page — only with example addresses.

  2. Cross-checked

    What cannot be executed this way — kernel, bootloader, hypervisor —, we cross-check line by line with the official documentation and mention it below the guide.

  3. Dated

    Every guide states the date of the last test and the systems used. If a step changes at the vendor, we update the page and the date.

A server to follow along

The guides require a server with Ubuntu and SSH access. VPS and Cloud Servers are available with Ubuntu 24.04 LTS or 26.04 LTS as an image.