Your server and account
Deploy a server from the console
Walk through every block of the Deploy page: server type, city, plan, image, settings, backups and the prepaid term, then pay the invoice.
Connect with PuTTY on Windows
Log in to your server from Windows with PuTTY or the built-in OpenSSH client, accept the host key safely and switch to key based logins.
Restart, stop and start a server
What the Stop, Restart and Start buttons on the server page do, when to reboot from inside the OS instead, and how a stopped server is billed.
Destroy a server you no longer need
What Destroy erases, what stays in Billing, and the files, records and settings worth saving before you press the button.
Manage SSH keys in the console
Save public keys on the SSH keys page, pick them on the Deploy page, and add or remove keys on servers that are already running.
Your account key and sign-in
How the private account key works: creating it on the sign-up page, logging in with it, viewing it in the console and keeping it safe.
Pay an invoice with crypto
How an INV code is paid: open the checkout, pick a coin and network, send the exact figure and watch the invoice turn Paid.
Renewals, pauses and removal
When renewal invoices appear, how to switch the term, what Paused means and how long you have before a server is removed.
Open and follow support tickets
When a ticket is the right move, which topic to pick, what to paste (server ID, mtr report, ssh -v output) and how replies and closing work.
Your server IPv4 and IPv6 addresses
Where the console shows your dedicated IPv4 and IPv6, how to confirm them inside the OS, and how to put IPv6 to work.
Labels and hostnames
The label is a name for you in the console; the hostname is what the server calls itself. Set both at deploy and change them later.
Server basics
Create a sudo user
Add a named admin account, give it sudo through the right group or a sudoers drop-in, copy your SSH key and test it before you leave root behind.
Add a swap file
Create a swap file, enable it at boot, tune swappiness and learn when extra swap helps a small VPS and when it only hides a memory shortage.
Change the hostname
Rename the server with hostnamectl, keep /etc/hosts in step, pick a fully qualified name and make sure the change survives reboots.
Time zone and time sync
Choose UTC or a local zone with timedatectl, confirm NTP is active through systemd-timesyncd or chrony and check the clock offset.
File and directory permissions
Read rwx and octal modes, change them with chmod and chown, set a sane umask, use setgid folders and ACLs for teams, and skip chmod 777.
Choose a Linux distribution
Compare the 12 operating system images on the Deploy page by support life, package freshness and the software you plan to run.
Rocky or AlmaLinux to a new major version
Plan the jump from version 9 to 10: check CPU level and inhibitors, try ELevate with Leapp on a spare server first, or migrate to a fresh one.
Automatic security updates
Let unattended-upgrades or dnf-automatic install security fixes every day, decide when the server may reboot and restart stale services with needrestart.
Run an app as a systemd service
Write a unit file that runs your app as its own user, restarts it on failure, starts at boot, locks it down with sandbox options and logs to the journal.
Schedule jobs with cron and systemd timers
Run backups, cleanups and scripts on a schedule with a crontab line or a systemd timer, with logging, locking and a quick way to test the timing.
Environment variables on Linux
Set variables for one shell, one user, every login or a single systemd service, and keep API keys and passwords out of world-readable places.
Check disk space and find what fills it
See free space with df, track down large folders with du and ncdu, shrink the journal, clear package caches and spot deleted files still held open.
Inspect processes and memory
Read ps, top and htop output, find who holds a file or port with lsof, understand free memory and see why the OOM killer stopped a process.
Read the hardware and system report
Check vCPU count, CPU flags, RAM, disks and the virtualisation type with lscpu, lsblk and inxi, and learn which dmidecode fields mean little inside a VM.
Reboot and shut down safely
Reboot from inside the OS with systemctl or shutdown, schedule a reboot with a warning, and know when to use the console Restart or Stop action instead.
Customise the login message (MOTD)
Trim the Ubuntu update-motd.d scripts, edit the static Debian and Rocky message, add a live status script and set a pre-login SSH banner.
Remote desktop with Xfce and xrdp
Add a light Xfce desktop and the xrdp server, keep port 3389 closed and reach the desktop through an SSH tunnel from any RDP client.
SELinux on Rocky Linux and AlmaLinux
Read SELinux modes and labels, fix file contexts and ports with semanage, flip booleans and explain denials with audit2why while staying enforcing.
Keep sessions alive with tmux
Start named tmux sessions, detach and reattach after a dropped SSH link, split windows into panes and set a small config that makes it pleasant.
SFTP-only users in a chroot
Give someone file access without a shell: a group, a root owned chroot folder, a Match block in sshd_config and a writable subfolder for uploads.
apt and dnf package management
Search, install, upgrade and remove software with apt or dnf, pin versions, add repositories safely, read the history and clean the cache.
First-hour checklist for a new server
A short, ordered list of what to do right after deploying: updates, a sudo user, keys, firewall, time, swap, backups and monitoring, with links to each guide.
Security
firewalld on Rocky Linux and AlmaLinux
Zones, services and rich rules with firewall-cmd, tested at runtime first and saved only once a new SSH login proves the setup.
iptables rules that survive a reboot
Write IPv4 and IPv6 rule files, load them atomically with an automatic revert, and have them restored at boot on Debian, Ubuntu, Rocky and AlmaLinux.
Block brute force logins with fail2ban
Ban addresses that keep failing SSH or web logins: a jail.local with the systemd backend, progressive ban times, nginx jails and a safe allow list.
CrowdSec intrusion prevention
Install the CrowdSec agent and the nftables firewall bouncer, feed it SSH and Nginx logs, allow-list your own address and read decisions with cscli.
Two-factor SSH logins with TOTP
Require an SSH key and a six digit TOTP code from an authenticator app, with a timed rollback so a typo in PAM never locks you out.
Disable or restrict root login
Move daily work to a sudo user, then turn off root over SSH or allow it only with a key from one address, tested with a timed undo.
Alerts for every SSH login
A small pam_exec script sends a Telegram, webhook or email message whenever someone opens an SSH session, and can never stop a login.
Advanced OpenSSH settings
Allow lists, Match blocks, modern key exchange and cipher lists, SSH certificates, jump hosts and an honest look at moving SSH off port 22.
Publish SSH host keys in DNS (SSHFP)
Publish SSHFP records for your host keys in a DNSSEC signed zone so SSH clients can verify a new server without the first-connection guess.
Audit open ports with nmap
Scan your own server from outside with nmap, compare the result with what is listening locally and close every port you did not mean to publish.
File integrity checks with AIDE and Tripwire
Record a trusted baseline of system files with AIDE or Tripwire and get a report whenever a binary, config file or permission changes.
CSF firewall (ConfigServer Security)
Install ConfigServer Security and Firewall with its login failure daemon, open the ports you need in csf.conf and understand who maintains it today.
First security steps on Rocky and Alma
Update, add a sudo user, lock SSH to keys, trim firewalld, keep SELinux enforcing and turn on automatic security updates on Rocky Linux and AlmaLinux 9.
Free TLS certificates with Certbot
Get free Let's Encrypt certificates with Certbot through the Nginx or Apache plugin, webroot or a DNS challenge, and keep them renewing on a timer.
Self-signed certificates and a private CA
Create a self-signed certificate with OpenSSL for quick tests, or run a small private CA whose root you trust on your own machines.
Rate and connection limits in Nginx
Use limit_req and limit_conn in Nginx to slow brute force logins, scrapers and request floods per client IP, with a dry run before you enforce.
Wazuh security monitoring
Run the Wazuh manager, indexer and dashboard on one server, enroll agents on your other machines and review alerts, file changes and vulnerabilities in one place.
Kernel and sysctl hardening
Tighten network and kernel settings with a sysctl drop-in file, mount /dev/shm without exec rights and verify every value after a reboot.
Networking and diagnostics
IPv6 on your server
Confirm your IPv6 address and default route, test reachability in both directions, cover IPv6 in the firewall and prefer IPv4 for package downloads when needed.
The ip command
Read addresses, links, routes and neighbors with the ip command from iproute2, make temporary changes safely, and know where permanent settings live.
DNS lookups with dig
Query A, AAAA, MX, TXT and CAA records with dig, ask a specific resolver or the authoritative servers, follow a trace and check DNSSEC.
Listening ports with ss and netstat
Find which program listens on which port with ss -tulpn, filter connections by state and port, count clients per address, and read the netstat equivalents.
Test ports and transfer data with netcat
Check whether a TCP or UDP port answers, open a quick listener, send raw requests and move a file between servers with nc or ncat.
Trace network paths with mtr
Run mtr in report mode in both directions, read loss and latency per hop correctly, and attach the results to a support ticket.
Capture packets with tcpdump
Watch live packets, filter by host or port, save captures to pcap files with rotation and read them later on your own computer.
Live bandwidth with iftop and nethogs
See right now which remote hosts and which local processes use your bandwidth, with iftop per connection and nethogs per program.
HTTP requests with curl
Send GET and POST requests, read headers, follow redirects, test a site before DNS points at it and time each phase of a request.
Dynamic DNS updates from a server
Keep a DNS name pointed at a home connection or a standby server, using TSIG signed nsupdate, ddclient and a small what-is-my-IP endpoint.
Check which ports are reachable
Work out whether a port fails because nothing listens, the firewall drops it or the path blocks it, testing from inside and from outside.
Web servers and proxies
Install and configure Nginx
Install Nginx from the distro packages, add a server block for your domain, switch on HTTPS with Certbot and tune workers and logs.
Install and configure Apache
Install Apache as apache2 or httpd, set up name-based virtual hosts, manage modules and add HTTPS with Certbot.
OpenLiteSpeed web server
Install OpenLiteSpeed from the LiteSpeed repository, secure the WebAdmin panel, add LSPHP, serve your domain on port 80 and 443.
HAProxy load balancer and TLS proxy
Install HAProxy, terminate TLS with a Certbot certificate, route by host name and spread traffic over several backends with health checks.
Load balancing with Nginx upstreams
Spread traffic over several of your own servers with an Nginx upstream group, pick a balancing method and fail over cleanly.
Nginx as a reverse proxy for an app
Put Nginx in front of a Node, Python or Go app on a local port: forwarded headers, WebSockets, timeouts, static files and HTTPS.
Apache as a reverse proxy
Use mod_proxy to forward a domain to an app on a local port, pass WebSockets, keep static files local and balance several instances.
Compression with gzip and Brotli
Turn on gzip and Brotli in Nginx or Apache, pick sensible levels and file types, serve precompressed assets and verify with curl.
HTTPS and www redirects
Send every visitor to one canonical HTTPS address with clean 301 redirects in Nginx or Apache, then lock browsers to HTTPS with HSTS.
Turn off Apache directory listings
Stop Apache from printing a file index for folders without an index page, server wide or per site, and confirm it returns 403.
Apache Tomcat for Java apps
Install Tomcat 10.1 or 11 on OpenJDK, run it as a locked-down systemd service, deploy WAR files and serve them over HTTPS through Nginx.
Encrypted FTP with vsftpd (FTPS)
Set up vsftpd with explicit TLS, jailed users and a fixed passive port range open in the firewall, and see when plain SFTP is the easier choice.
PHP and web stacks
LAMP stack: Apache, MariaDB, PHP
Put Apache, MariaDB or MySQL and PHP on one VPS, open the firewall, add a site and prove PHP can talk to the database.
LEMP stack: Nginx, MySQL, PHP-FPM
Run Nginx in front of PHP-FPM with MySQL or MariaDB, write a working server block and confirm PHP and the database answer.
Install PHP 8 and PHP-FPM
Install PHP 8 with PHP-FPM from the distribution or from a maintained third-party repository, add extensions and set php.ini values.
Run PHP 7.4 or 5.6 for legacy apps
Run an old PHP 7.4 or 5.6 application next to a current PHP 8, with its own FPM socket, its own user and a plan to retire it.
Separate PHP-FPM pools per site
Give each website its own PHP-FPM pool, Linux user, socket, open_basedir and worker limits so one site cannot read or starve another.
Composer for PHP projects
Install Composer with a checked installer, decide between global tools and project packages, and ship lean vendor folders to production.
Node.js
Install Node.js and npm
Put a current LTS release of Node.js and npm on Ubuntu, Debian, Rocky or Alma from the NodeSource repo, distro packages or dnf module streams.
Several Node.js versions with nvm
Install nvm for one user, keep several Node.js releases side by side, pin a version per project and use it from systemd and cron.
Upgrade Node.js safely
Move an app from one Node.js LTS line to the next: read the changes, test first, switch the repo or stream, rebuild native modules and keep a way back.
Keep Node.js apps running with PM2
Run Node.js apps under PM2 with restart on crash, start at boot, an ecosystem file for settings, rotated logs and cluster mode across vCPUs.
An Express app behind Nginx
Serve an Express app on 127.0.0.1, let Nginx handle static files and the public ports, and add a free Let's Encrypt certificate for HTTPS.
Host a discord.js bot
Run a discord.js bot around the clock: token in a protected env file, slash commands, a systemd unit or PM2, and a Docker option.
Containerise a Node.js app
Package a Node.js app in a small multi-stage Docker image that runs as a non-root user, then run it with Docker Compose behind a local port.
Python
Install Python 3, pip and venv
Set up Python 3 with pip and virtual environments on Ubuntu, Debian, Rocky or Alma, plus pipx, uv and newer interpreters next to the system one.
Run legacy Python 2 code
Keep an old Python 2.7 program running while you port it: container images, pyenv builds, the last distro package, and how to fence the risk in.
Manage Python projects with Poetry
Use Poetry 2 to declare dependencies, lock exact versions and install the same environment on a server, then run the app under systemd.
Miniconda and Anaconda on a server
Install Miniforge, Miniconda or full Anaconda on a Linux server, build reproducible conda environments, and understand the channel terms first.
Deploy Flask with Gunicorn and Nginx
Serve a Flask app in production: Gunicorn under systemd on localhost, Nginx in front with HTTPS, firewall rules, graceful reloads and uWSGI as an option.
Deploy FastAPI with Uvicorn workers
Run a FastAPI service in production with several Uvicorn worker processes under systemd, Nginx in front with HTTPS and WebSocket support.
Deploy Django with Gunicorn and Nginx
Run a Django project in production: PostgreSQL, a virtual environment, Gunicorn under systemd, Nginx for static files and HTTPS from Certbot.
Background tasks with Celery and Redis
Move slow jobs out of your web requests with Celery workers, a password protected Redis broker, scheduled tasks with beat and systemd units.
Host a Python Discord bot
Keep a discord.py bot online around the clock: its own system user, a virtual environment, the token in an env file and a systemd service that restarts it.
Containerise a Python web app
Package a Python web app in a slim multi-stage Docker image with a non-root user, run it with Compose next to PostgreSQL and publish it safely.
JupyterLab on a server
Run JupyterLab on a VPS as a systemd service with a password, then reach it through an SSH tunnel or through Nginx with HTTPS and websockets.
Host a Python Telegram bot
Run a Telegram bot built with python-telegram-bot or aiogram as a systemd service, using long polling or a webhook behind Nginx with HTTPS.
Go, Ruby, Java and other runtimes
Install Go and run a Go service
Install the official Go toolchain from the tarball, build a static binary, run it under systemd and serve it over HTTPS with Nginx or autocert.
Install Ruby with rbenv
Install rbenv and ruby-build for your user, compile a current Ruby with YJIT, set the default version and keep several versions side by side.
Install Java (OpenJDK), Maven and Gradle
Install an OpenJDK LTS release from your distribution or the Adoptium repository, switch versions, set JAVA_HOME and add Maven or Gradle.
Install FFmpeg
Install FFmpeg from your distribution, RPM Fusion or a static build, check codecs, and run common transcoding, audio and thumbnail jobs on a VPS.
SQLite on a server
Use SQLite safely in production: install the CLI, switch to WAL mode, set busy timeouts, take consistent backups and get a newer version when needed.
Install Rust and build a service
Install Rust with rustup, create an axum web service, build an optimized release binary and run it under systemd behind a reverse proxy.
Databases
Install MySQL 8
Install MySQL 8 from the right source on Ubuntu, Debian, Rocky or Alma, lock it down, add app users and reach it safely through an SSH tunnel.
Install MariaDB
Install MariaDB from your distro or the MariaDB repository, secure the root account, create users and keep the server private on your VPS.
Install PostgreSQL
Install PostgreSQL from distro packages or the PGDG repository, create roles, set pg_hba rules and choose where the server listens.
Install MongoDB
Install MongoDB Community from the official repository, switch on authentication, keep bindIp local and test with mongosh.
PostgreSQL JSON, arrays and special types
Store and query jsonb, arrays, hstore, UUIDs, enums, time zones and ranges in PostgreSQL, with SQL you can paste into psql.
PostgreSQL views, triggers and CTEs
Build views and materialized views, write trigger functions, use CTEs and recursive queries, and branch with CASE in PostgreSQL.
PostgreSQL full-text search and encryption
Add ranked full-text search with tsvector and GIN, encrypt sensitive columns with pgcrypto, and run distance queries in PostgreSQL.
MySQL keys, indexes and full-text search
Design primary and composite keys, link tables for many-to-many data, read EXPLAIN plans and add FULLTEXT search in MySQL 8.
MySQL JSON, views and stored procedures
Store and index JSON in MySQL 8, wrap queries in views, write stored procedures, and use REGEXP and TIMESTAMPDIFF in everyday SQL.
Install Redis or Valkey
Install Redis or its open fork Valkey, require a password through ACLs, keep it on localhost, choose RDB or AOF persistence and cap memory.
Install Memcached
Set up Memcached as a fast object cache, keep it on localhost with UDP off, size its memory and connect PHP or Python apps to it.
Back up and restore MySQL and MariaDB
Dump and restore MySQL or MariaDB databases, pull one database out of a full dump, take physical backups with mariabackup or XtraBackup and automate it.
Back up and restore PostgreSQL
Back up PostgreSQL with pg_dump and pg_dumpall, restore with pg_restore, take base backups with pg_basebackup and add WAL archiving for point in time recovery.
MySQL users, roles and passwords
Create MySQL and MariaDB accounts with tight host parts, grant only what each app needs, group rights into roles and enforce password rules.
PostgreSQL roles and permissions
Design PostgreSQL roles for owners, apps and readers, set default privileges, store passwords as SCRAM and hash app passwords with pgcrypto.
Repair a crashed MySQL table
Find the damaged table, check it with CHECK TABLE or mysqlcheck, repair MyISAM and Aria tables, and recover InnoDB data with a forced-recovery dump.
PostgreSQL streaming replication
Stream WAL from a primary PostgreSQL server to a hot standby on a second VPS over TLS, with firewall rules that admit only the peer address.
MongoDB replica set
Join three MongoDB servers into a replica set over public IPs, with keyfile member auth, TLS on every connection and firewall rules for peers only.
PostGIS for location data
Add PostGIS to PostgreSQL, store points and shapes, index them with GiST, and answer distance, radius and nearest-neighbour questions in SQL.
Database insight with PgHero
Run the PgHero dashboard in Docker to spot slow queries, missing and unused indexes, bloat and connection pressure on your PostgreSQL server.
Couchbase Server
Install Couchbase Server Community Edition, set up a node from the command line, create a bucket and app user, and keep its many ports closed.
ArangoDB multi-model database
Install ArangoDB from its package repository, secure the root account, keep it on localhost, and work with documents and graphs in AQL.
Remote database access over SSH
Reach PostgreSQL, MySQL or MongoDB on your server from a laptop, a Python script or a GUI client through an SSH tunnel, with no database port open.
Containers and PaaS
Docker Compose stacks
Describe a multi-container app in one compose.yaml, keep secrets in env files, switch extras on with profiles and update the stack safely.
Docker volumes and bind mounts
Keep container data across rebuilds with named volumes or bind mounts, back them up with a throwaway container and fix ownership problems.
Read and limit Docker logs
Follow container output with docker logs, cap log files so they never fill the disk, and send container logs to journald when you prefer one place.
Free disk space used by Docker
Measure what Docker stores with system df, then remove stopped containers, unused images and build cache without touching data you still need.
Build, tag and push Docker images
Write a lean Dockerfile, build it with BuildKit or buildx, tag versions clearly and push them to a registry, plus why docker commit is a poor shortcut.
Run and manage containers
Start containers with docker run, list them, open a shell inside, stop and remove them, set restart policies and publish ports on 127.0.0.1 only.
Podman and rootless containers
Run containers without a daemon and without root using Podman, then turn them into systemd services with Quadlet unit files that start at boot.
Websites, CMS and shops
WordPress on Nginx, PHP-FPM, MariaDB
Build WordPress by hand on Nginx, PHP-FPM and MariaDB, install it with WP-CLI and add a free Certbot certificate.
Fix common WordPress errors
Work through white screens, 500 errors, database connection failures, memory limits, permissions and redirect loops from the shell.
Back up WordPress (3-2-1 rule)
Dump the database, archive wp-content, push a copy off the server on a timer and prove it restores, following the 3-2-1 rule.
WordPress caching with Redis
Make WordPress faster with OPcache, a Redis object cache and Nginx FastCGI page caching that skips logged-in users.
Moodle learning platform
Install Moodle on Nginx, PHP-FPM and PostgreSQL with a data folder outside the web root, a one-minute cron job and HTTPS.
MediaWiki on Nginx and MariaDB
Run your own MediaWiki on Nginx, PHP-FPM and MariaDB, finish the setup from the shell and lock down editing and uploads.
PrestaShop store on Nginx
Install PrestaShop on Nginx, PHP-FPM and MariaDB with the command line installer, then secure the back office and add HTTPS.
OpenCart shop on Nginx
Install OpenCart 4 with its CLI installer on Nginx, PHP-FPM and MariaDB, move the storage folder and switch on SEO URLs.
Matomo web analytics
Host Matomo analytics on your own VPS with Nginx, PHP-FPM and MariaDB, add the tracking code and archive reports with cron.
Static site with Nginx and rsync
Serve a static site from Nginx, deploy it with rsync and atomic symlink releases, set caching headers and add HTTPS.
Joomla on Nginx and PHP-FPM
Install Joomla with its command line installer on Nginx, PHP-FPM and MariaDB, then enable SEF URLs, HTTPS and the scheduler.
Drupal with Composer and Drush
Create a Drupal 11 site with Composer, install it with Drush, serve the web folder from Nginx and automate updates and cron.
Self-hosted apps
Gitea Git hosting
Install Gitea from the official binary with a git user, systemd unit and PostgreSQL, then publish it through Nginx with HTTPS and SSH clone URLs.
DocuSeal document signing
Run DocuSeal with Docker Compose and PostgreSQL, publish it over HTTPS with Caddy and send signing requests through an authenticated SMTP relay.
Metabase dashboards
Host Metabase in Docker with a PostgreSQL application database, connect your data sources read-only and share dashboards over HTTPS.
Appwrite backend server
Install the Appwrite backend with its official Docker installer, secure the console, add SMTP for auth emails and keep upgrades and backups routine.
Self-hosted Supabase
Run the Supabase Docker stack (Postgres, auth, storage, realtime, Studio) with your own secrets, HTTPS through Caddy and SMTP for sign-up emails.
PocketBase backend
Install the PocketBase single binary as a systemd service, proxy it through Nginx with HTTPS, then set up mail, backups and one-command updates.
RustDesk relay server
Host your own RustDesk ID and relay server (hbbs and hbbr) with Docker, open the right ports and point every client at it with your public key.
Traccar GPS tracking
Install the Traccar GPS server from its Linux package, store positions in PostgreSQL, serve the web app through Nginx with HTTPS and open only the device ports you use.
Redmine project tracker
Run Redmine 6 from the official Docker image with PostgreSQL, serve it over HTTPS with Caddy, configure SMTP notifications and add plugins safely.
The Lounge IRC client
Keep IRC sessions online around the clock with The Lounge in Docker, private user accounts and an Nginx proxy with HTTPS and websockets.
CyberChef data toolbox
Serve a private copy of CyberChef as static files behind Caddy with HTTPS and a password, so your team can decode and transform data in the browser.
Typebot chat forms
Host the Typebot builder and viewer with Docker Compose and PostgreSQL, publish both on HTTPS subdomains and sign in through magic links sent over SMTP.
AFFiNE workspace
Deploy the AFFiNE docs and whiteboard workspace from its release Compose file, keep data in PostgreSQL and local folders, and serve it on HTTPS.
Overleaf Community Edition
Install Overleaf Community Edition with the official Toolkit, add the full TeX Live scheme, and publish the LaTeX editor on HTTPS for your group.
Neko shared virtual browser
Run a Neko Firefox or Chromium container that several people watch and control together through WebRTC, with passwords, a UDP port range and HTTPS.
imgproxy image resizing
Resize, crop and convert images on the fly with imgproxy in Docker, sign every URL with a key and salt, and cache results in Nginx behind HTTPS.
NetBox network inventory
Deploy NetBox with the community Docker project, PostgreSQL and Redis, create an admin, secure it with HTTPS and query racks, devices and IPs over the API.
VPN and private DNS
WireGuard VPN server (manual setup)
Build a dual-stack WireGuard server by hand with wg-quick, NAT through nftables, ufw or firewalld, and QR codes for phone clients.
OpenConnect VPN server (ocserv)
Run ocserv on TCP and UDP 443 with a trusted certificate, password or client-certificate login, and AnyConnect-compatible clients.
Unbound validating resolver
Run Unbound as a recursive, DNSSEC validating resolver that serves only localhost, your own IPs and VPN clients.
Squid forward proxy with authentication
Turn a VPS into a private HTTP and HTTPS forward proxy with Squid, password logins, a source IP allow list and no caching.
Monitoring and logs
Netdata real-time monitoring
Install the Netdata Agent with its kickstart script, keep the port 19999 dashboard on localhost and read per-second charts through an SSH tunnel.
Prometheus and node_exporter
Install Prometheus and node_exporter from the official release binaries, run both under systemd and scrape remote servers over TLS with basic auth.
Grafana dashboards
Install Grafana from its official APT or RPM repository, bind it to localhost, publish it over HTTPS and provision a Prometheus data source with dashboards.
Zabbix monitoring
Install Zabbix 7.0 LTS server with MariaDB and Nginx from the official repository, then add agents on other servers with PSK encryption.
Nagios Core
Install Nagios Core 4 from Debian, Ubuntu or EPEL packages, reach the web interface through a tunnel or HTTPS login, and check remote hosts over SSH.
Monit for self-healing services
Let Monit watch processes, ports and disk space, restart a stuck service on its own and send a mail through an authenticated relay.
btop, htop and other live monitors
Read CPU, memory, disk and network activity in the terminal with btop, htop, glances, iotop and the classic top, and know what each number means.
Central logs with rsyslog
Turn one VPS into a log collector with rsyslog, forward every other server to it over TCP or TLS, and store each host in its own folder.
Rotate logs with logrotate
Write logrotate rules for your own apps, pick daily or size based rotation, compress old files and test every rule with a dry run first.
Read logs with journalctl
Filter the systemd journal by service, boot, time and priority, follow logs live, keep them across reboots and cap the space they use.
Email servers
Mail server with iRedMail
Turn a fresh server into a complete mail system with Postfix, Dovecot, webmail and an admin panel from one scripted installer.
SPF, DKIM and DMARC records
Publish the three DNS records receivers check before trusting your mail, sign outgoing messages with OpenDKIM and verify every record.
Send app mail through an SMTP relay
Deliver password resets, alerts and cron reports reliably by sending through an authenticated relay on port 587 with Postfix or msmtp.
Game and voice servers
Minecraft Java server
Fetch the official server jar from the Mojang version manifest, install the matching Java, and run the world as a systemd service under its own user.
Control panels
Webmin system admin panel
Add the official Webmin repository, install the package, lock port 10000 to your own address and manage users, services and packages from a browser.
Virtualmin web hosting panel
Run the official install script on a clean server with a proper host name and get Apache or Nginx, PHP, MariaDB, DNS and mail managed per domain.
Cockpit server console in the browser
Install Cockpit from the distribution packages, enable its socket on port 9090 and watch services, logs, updates and a terminal from one web page.
Control Web Panel (CWP) on Rocky or Alma
Install Control Web Panel on a fresh Rocky Linux 9 or AlmaLinux 9 server, sign in on port 2031, create hosting accounts and lock down the admin side.
Move cPanel accounts to a new server
Install cPanel on a clean AlmaLinux or Rocky 9 server, copy accounts with the WHM Transfer Tool or pkgacct, test with a hosts entry and switch DNS.
File transfer and archives
Copy and mirror files with rsync
Move folders between machines over SSH, resend only what changed, mirror with deletes after a dry run and schedule the job with a timer.
Copy files with scp
One command to push or pull a file or folder over SSH, with ports, keys, jump hosts and speed limits explained.
Transfer files with sftp
Browse remote folders, upload and download, resume broken transfers and script repeat jobs with the sftp client that comes with OpenSSH.
tar archives
Pack folders into one file, pick gzip, xz or zstd compression, list and extract safely, keep permissions and stream archives over SSH.
zip and unzip
Create zip files that open on any desktop, exclude clutter, unpack into the right folder, test archives and protect them with real encryption.
Deduplicated backups with BorgBackup
Encrypted, deduplicated and compressed backups to a second machine over SSH, with pruning, integrity checks, restores and a nightly timer.
Sync to remote storage with rclone
Connect your server to storage you already have (S3-compatible buckets, SFTP, WebDAV), copy or sync folders, encrypt them and run it on a timer.
Full-disk image copies of a server
Copy an entire running system at file level with rsync or Borg, with the right excludes, and bring it back on a freshly installed server.
Mount remote folders with SSHFS
Make a folder on your server appear as a local directory over SSH, keep the mount alive across drops and mount it automatically at boot.
Linux command line
Copy files and directories with cp
Copy single files, whole directory trees and config files with cp, keep owners and timestamps, and avoid silent overwrites on a live server.
Move and rename with mv
Rename files and folders, move them between directories, rename in bulk with a loop or the rename tool, and avoid overwriting data on the way.
Create directories and empty files
Build folder trees in one line with mkdir -p, set modes and owners as you create them, and make or re-date empty files with touch.
List files with ls, find your place with pwd
Read long listings, show hidden files, sort by size or date, list a directory itself, and always know which folder you are standing in.
Read files with cat, less and tail
Print short files with cat, page through long ones with less, watch logs live with tail -f, and read rotated, compressed logs without unpacking them.
Find files with find and locate
Search the live filesystem with find by name, size, age, owner or permission, act on the results, and get instant name lookups from a locate index.
Search text with grep
Find lines in files and logs with grep: case-insensitive and whole-word matches, recursive code searches, regular expressions and context lines.
Edit and report text with sed and awk
Change config values in place with sed, print line ranges, and use awk to pick columns, filter rows and total numbers from logs and command output.
echo, tee and wc
Print text with echo and printf, split output to a file and the screen with tee, and count lines, words and bytes with wc.
Edit files with nano
Open, edit, search and save configuration files over SSH with nano, plus the settings that make it pleasant on a server.
Edit files with Vim
Learn the Vim modes, saving and quitting, motions, search and replace, and a small vimrc for editing config files on a server.
Read manual pages
Find and read the built-in manual on your server: man sections, searching with apropos, help flags, info pages and restoring docs on minimal images.
Users and groups
Create, change, lock and remove Linux users and groups, give sudo rights, and add service accounts that cannot log in.
Ownership with chown and chgrp
Change file owners and groups with chown and chgrp, recursively and safely, and set up shared folders and web roots that keep the right owner.
Symbolic and hard links
Create, inspect, replace and clean up symbolic and hard links with ln, and use them for release switching and config layouts.
Pipes, redirection and xargs
Chain commands with pipes, send output and errors to files, feed lists into xargs safely, and run work in parallel.
Bash scripting
Write and run a Bash script
Create a script file with a shebang line, make it executable with chmod, run it from any folder and check it with bash -n and shellcheck.
Bash variables and strings
Assign and quote variables correctly, use defaults, trim and replace text with parameter expansion, and do integer math without calling external tools.
if, else and case in Bash
Branch on exit codes, file tests, string and number comparisons with if, elif and else, match patterns with case and keep the logic readable.
for, while and until loops
Repeat work over lists, number ranges, files and command output with for, while and until, read lines safely, and control loops with break and continue.
Arrays in Bash
Store lists in indexed arrays and key value pairs in associative arrays, loop over them safely, fill them from files with mapfile and build command lines.
Functions in Bash
Group repeated steps into Bash functions, pass arguments, return status codes and values, keep variables local and share helpers across scripts.
Read user input in Bash
Ask questions with read, hide passwords, set timeouts and defaults, confirm risky steps, build menus with select and parse options with getopts.
Heredocs and writing to files
Write and append files from scripts with redirection, tee and heredocs, keep or expand variables on purpose, write root-owned files and replace files atomically.
Aliases and a tidy .bashrc
Create shortcuts with alias, keep them in a separate file loaded by .bashrc, improve history and the prompt, and know which startup file Bash reads when.
Error handling with set -euo pipefail
Stop scripts on the first failure with set -euo pipefail, report where it happened with an ERR trap, clean up temp files with an EXIT trap and retry flaky steps.
Git on a server
Install and configure Git
Install Git from the distribution packages, set your identity and sensible defaults, and reach remote repositories over SSH with a key.
Clone, commit, push and pull
The everyday Git loop on a server: clone a repository, stage and commit changes, push them to the remote and pull what others wrote.
Create, switch, merge and delete branches
Work on features in separate branches: create and switch with git switch, merge them back, track remote branches and tidy up old ones.
Rebase and cherry-pick
Replay a branch on top of main with git rebase, clean up commits with interactive rebase, and copy single fixes between branches with cherry-pick.
Undo with reset, revert and stash
Throw away edits with restore, move a branch back with reset, cancel pushed commits with revert, park work with stash and rescue anything with the reflog.
Git submodules
Embed one repository inside another at a fixed commit: add, clone recursively, update to newer commits, change the URL and remove a submodule cleanly.
Deploy with a bare repository and hooks
Push to a bare repository on your VPS and let a post-receive hook check out the code, build it into a release folder and restart the service.
Developer tools and CI
Apache Airflow workflows
Install Apache Airflow 3 in a Python virtual environment with PostgreSQL, run each component under systemd and schedule your first DAG.
Jenkins automation server
Install Jenkins LTS from the official repository with Java 21, unlock it, secure it behind HTTPS and move builds onto agents.
SonarQube code quality
Run SonarQube Community Build with PostgreSQL in Docker Compose, set the kernel limits it needs, add HTTPS and scan a project with a token.
Self-hosted GitHub Actions runner
Register a self-hosted GitHub Actions runner, install it as a systemd service, keep public repositories safe and switch to ephemeral runners.
GitLab Runner
Install GitLab Runner from the official package repository, register it with a runner authentication token and run CI jobs in Docker containers.
Apache Subversion server
Serve Subversion repositories over HTTPS with Apache and mod_dav_svn, with per path access rules, hooks, dumps and hot copies for backup.
Woodpecker CI with Gitea or Forgejo
Connect Woodpecker CI to your Gitea or Forgejo server with OAuth, run the server and a Docker agent with Compose and write your first pipeline.
Queues and messaging
RabbitMQ broker
Install RabbitMQ 4 with a current Erlang from the project repositories, add users and vhosts, enable TLS and join nodes into a cluster.