Articles

"Target Is Busy": Find What Blocks a Disk or Folder

You want to unmount a disk and Linux answers umount: /mnt/data: target is busy. A program still...

A Service Does Not Start: Find Out Why

A program that runs as a service, for example a torrent client, a web server or your own app,...

Add Swap Space to Your Linux Server

Swap is disk space that Linux uses when the memory (RAM) is full. It does not make the server...

Add Users and Give Them sudo on Your Linux Server

Working as root all the time is risky: one wrong command can damage the whole system. Create a...

Automatic Encrypted Backups of Your Server to Another Server With restic

restic makes encrypted backups and keeps older versions, so you can go back to yesterday's or...

Automatic Security Updates on Ubuntu and Debian

Ubuntu and Debian install security updates by themselves once a day. This page shows how to check...

Back Up Your Linux Server Before a Reinstall

Back Up Your Linux Server Before a Reinstall A reinstall from the Client Area erases all disks of...

Back Up Your MariaDB or MySQL Databases Every Night

If a website or an app on your server keeps its data in MariaDB or MySQL, copying the database...

Change the SSH Port of Your Linux Server

Bots try to log in on port 22 of every server, all day. Moving SSH to another port does not make...

Check the Network of Your Linux Server: ping, mtr and iperf3

Check the Network of Your Linux Server: ping, mtr and iperf3 When connections to your server are...

Delete Old Downloads Automatically on Your Linux Server

A download folder fills up over time. This page deletes files older than 30 days from one folder,...

Docker on Your Linux Server

Many programs are published as Docker images: you start them with one command, and they bring...

Edit Files on Your Server With nano

Many of our guides ask you to change a settings file. On Ubuntu, the simplest editor for that is...

File Permissions on Linux: Who May Read, Change and Run a File

Every file and folder on Linux has an owner, a group and permissions. They decide who may read...

Find Duplicate Files and Save Space With Hard Links

Media collections often hold the same file twice: once in the download folder, where the torrent...

Find Errors in the Logs of Your Linux Server: journalctl

When a program does not start, the server restarted on its own, or something just behaves...

Find Files on Your Linux Server by Name, Size, Date or Content

"Where did that file go?" Two commands answer almost every such question: find searches by name,...

Give Someone SFTP Access to One Folder Only

Want a friend or a family member to download files from your server, or to upload something for...

How Busy Was My Server Last Night? Look Back With sar

Commands like top show the load right now. When the question is "why was everything slow at 3 in...

How to Change Server Hostname

How to Change Server Hostname This guide explains how to change the hostname on your server....

How to Connect to a Linux Server via SSH

How to Connect to Your Linux Server via SSH SSH opens the command line of your Linux server on...

How to Find and Reset the Root Password for a VPS

How to Find and Reset the Root Password for a VPS This guide explains where to find the root...

How to Update the Time on Your Linux Server

A new server usually runs in UTC. If you want the times in your logs, in your scheduled tasks and...

Install, Update and Remove Programs on Ubuntu and Debian With apt

On Ubuntu and Debian, programs come as packages from the official package sources. apt finds,...

Jellyfin Media Server on Your Linux Server With Docker

Jellyfin streams your movies, series and music from your server to your browser, TV and phone....

Keep a Program Running on Linux

Keep a Program Running on Linux A program that you start in an SSH session stops when you close...

Linux Desktop on Your Server With X2Go

X2Go shows a full Linux desktop of your server in a window on your computer. It connects over...

Linux Server: Quick Start Guide

Your Linux server is installed. This page shows what to do first and where each guide is. You...

Log In to Your Linux Server With an SSH Key

Log In to Your Linux Server With an SSH Key Bots try passwords on every server on the internet....

Make Your Videos Smaller With ffmpeg and H.265

Videos in H.265 (HEVC) need noticeably less space than in H.264 at a similar quality. ffmpeg...

Manage Your Linux Server in the Browser With Cockpit

Manage Your Linux Server in the Browser With Cockpit Cockpit is a web interface for your server....

MariaDB on Your Linux Server: Install, Create a Database and a User

Most websites and many apps keep their data in a MySQL-compatible database. MariaDB is the...

Move Your Data From Another Server to Your Linux Server

Moving from another provider, or from your App Hosting service to a dedicated server? Copy the...

Open a Web Page That Listens Only on Your Server: SSH Tunnel

Many apps have a web page that should not be open to the whole Internet, for example an admin...

Pack Folders Into Archives on Linux: tar, zip and Split Parts

An archive packs a whole folder into one file: easier to download, to send or to keep as a copy....

Protect Your Linux Server With a Firewall and Fail2ban

A new Ubuntu server accepts connections on every port where a program listens. The firewall ufw...

Protect a Folder of Your Website With a Password in Nginx

Nginx can ask for a user name and password before it shows a folder of your website, for example...

Run Tasks on a Schedule on Linux: cron and systemd Timers

Back up every night, clean a folder every week, restart a program every morning: Linux can run...

SSH Shortcuts: Connect With a Short Name Instead of Address, Port and Key

Instead of typing ssh -p 2222 -i ~/.ssh/id_ed25519 alex@203.0.113.10 every time, you can write...

See How Much Traffic Your Linux Server Uses: vnStat

vnStat counts the data that your server sends and receives, per hour, day and month, and keeps...

See Which Programs Listen on Your Linux Server

Every program that can be reached over the network listens on a port. After you have installed a...

Sync Folders With Your Linux Server: Syncthing

Syncthing keeps a folder the same on several devices: your Linux server, your computer, or your...

Two-Step Login for SSH: Password Plus a Code From Your Phone

With two-step login, SSH asks for your password and then for a 6-digit code from an app on your...

Website With HTTPS on a Linux Server: Nginx and Let's Encrypt

Website With HTTPS on a Linux Server: Nginx and Let's Encrypt This page puts a website on your...

What Fills the Disk and What Loads the Server

What Fills the Disk and What Loads the Server When a disk is full or the server is slow, these...

Which Program Uses the Network Right Now? nethogs and iftop

Your server is busy on the network and you want to know why? nethogs shows the traffic per...

WordPress on Your Linux Server: Nginx, PHP and MariaDB

This page installs WordPress on your own server: Nginx serves the pages, PHP runs WordPress and...

Your Own VPN on a Linux Server With WireGuard

Your Own VPN on a Linux Server With WireGuard With WireGuard your computer or phone sends all its...