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.
Upgrade Ubuntu to the next LTS
Back up first, bring the current release fully up to date, then run do-release-upgrade over SSH with a fallback port open and verify the result.
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.
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
UFW firewall on Ubuntu and Debian
Allow SSH first, set a default deny for incoming traffic, open only the ports you serve and keep an automatic undo ready while you test.
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.
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
FreeRADIUS with PostgreSQL
Run a FreeRADIUS 3 server that reads users, groups and NAS clients from PostgreSQL, then test it with radtest and lock down UDP 1812 and 1813.
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.
Latency graphs with SmokePing
Graph round trip time and packet loss to your important hosts around the clock, so short network trouble leaves a visible trace.
Traffic analysis with ntopng
Install ntopng, see hosts, flows and application protocols in a web dashboard and keep the interface private behind an SSH tunnel.
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.
Nginx Proxy Manager with Docker
Run Nginx Proxy Manager in Docker Compose, publish apps with free certificates from a web form, and keep its admin port away from the internet.
Nginx UI web interface
Install the Nginx UI panel next to a normal Nginx, edit sites and certificates in the browser, and keep its port closed to the public.
Traefik for Docker containers
Route domains to Docker containers with Traefik labels, get certificates automatically from Let's Encrypt and keep the dashboard behind a password.
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.
Varnish cache in front of a site
Place Varnish between Nginx TLS termination and your app, write a small VCL that skips logged-in traffic, and confirm hits with headers.
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.
Upgrade PHP to a newer version
Move a site from PHP 8.2 to 8.3 or 8.4: install the new branch beside the old one, switch Apache or Nginx, test and remove the old packages.
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.
Deploy Laravel with Nginx
Serve a Laravel app through Nginx and PHP-FPM with correct folder permissions, a production .env, a systemd queue worker and the scheduler.
Deploy Laravel with Apache
Host a Laravel app on Apache with PHP-FPM through proxy_fcgi, mod_rewrite for the bundled .htaccess, HTTPS and a production checklist.
phpMyAdmin behind HTTPS
Install phpMyAdmin from the repositories, serve it only over HTTPS, hide it behind a second password and an IP allow list, and block root logins.
Adminer: one-file database UI
Drop a single Adminer PHP file onto its own HTTPS host, fence it with a password and IP rules, and manage MySQL, MariaDB, PostgreSQL or SQLite.
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.
Deploy a MERN app
Install MongoDB with authentication, run the Express API on Node.js, build the React front end and serve both through Nginx with 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.
Deploy Ruby on Rails
Put a Rails app into production with Puma under systemd, PostgreSQL for data, Nginx serving assets and a Let's Encrypt certificate.
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.
R and RStudio Server
Install current R from the CRAN apt repository, add RStudio Server for browser-based work, and keep it private behind Nginx with HTTPS or an SSH tunnel.
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.
Run .NET apps on Linux
Install the .NET SDK or ASP.NET Core runtime from Ubuntu or Microsoft packages, publish an app, run Kestrel under systemd and serve it through Nginx.
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.
Apache Solr search server
Install Apache Solr as a service on Ubuntu or Debian, create a core, index documents and keep the admin UI private behind Nginx.
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.
Apache Cassandra cluster
Install Apache Cassandra 5.0 on one node, then grow it into a small cluster over public IPs with internode TLS, passwords and a tight firewall.
Install Apache CouchDB
Install Apache CouchDB from the project repository as a single node, set an admin, keep port 5984 private and serve it over HTTPS.
InfluxDB for time series
Install InfluxDB from the official repository, run the first setup, write and query time series, scope tokens per app and feed it with Telegraf.
Install Elasticsearch
Install Elasticsearch from the official repository with security on by default, size the JVM heap, keep HTTP private and add snapshots.
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.
Docker Swarm across servers
Join several VPS instances into one Swarm over public IPs, lock the cluster ports to node addresses and run services on encrypted overlay networks.
Automatic updates with Watchtower
Let Watchtower pull new image versions on a schedule, or replace it with a small systemd timer that runs docker compose pull on your terms.
Portainer CE web UI
Install Portainer Community Edition as a container, reach it safely over an SSH tunnel or HTTPS proxy, and manage containers, stacks and volumes.
Dokploy self-hosted PaaS
Install Dokploy with its script, secure the dashboard behind your own domain and deploy apps, Compose projects and databases from Git.
CapRover PaaS
Point a wildcard domain at your server, start CapRover as one container, finish setup with its CLI and deploy apps with a captain-definition file.
Dokku git push deploys
Install Dokku with its bootstrap script, add your SSH key, and ship apps with git push, plus Postgres and Let's Encrypt plugins.
Coolify on your own server
Install Coolify with one script, claim the admin account right away, move the dashboard to HTTPS and deploy apps, databases and services.
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.
WooCommerce shop setup
Turn a WordPress install into a WooCommerce store: plugin install, store pages, real cron, order email over SMTP and cache rules.
Ghost publishing platform
Install Ghost with Ghost-CLI on Ubuntu: Node.js LTS from NodeSource, MySQL 8, Nginx, HTTPS and SMTP mail for sign-ins.
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.
phpBB forum
Run a phpBB 3.3 forum on Nginx, PHP-FPM and MariaDB, with protected folders, HTTPS, SMTP board email and spam defences.
Flarum forum
Install the Flarum forum with Composer on Nginx, PHP-FPM and MariaDB, then add extensions, SMTP mail and the scheduler.
Discourse community forum
Deploy Discourse with the official Docker setup script, an SMTP relay for sign-up mail, automatic HTTPS and rebuild-based upgrades.
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.
Magento Open Source with OpenSearch
Install Magento Open Source with Composer on PHP 8.3+, MariaDB, OpenSearch and Valkey, then switch it to production mode.
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.
Vanilla Forums open source
Install the open source Vanilla Forums release on Nginx, PHP-FPM and MariaDB, finish the setup wizard and enable clean URLs.
Self-hosted apps
Nextcloud on Nginx
Run Nextcloud on Nginx, PHP-FPM, MariaDB and Redis with a Let's Encrypt certificate, cron jobs and caching set up the way the admin checks expect.
ownCloud Infinite Scale
Run ownCloud Infinite Scale in Docker Compose behind Caddy with automatic HTTPS, persistent volumes, mail notifications and a clean upgrade path.
Seafile file sync
Deploy Seafile Community Edition with its official Docker Compose files, bundled Caddy for HTTPS, MariaDB, mail settings and garbage collection.
Vaultwarden password vault
Host Vaultwarden in Docker behind Caddy, lock down sign-ups, protect the admin page with an Argon2 token, add mail and keep reliable backups.
Passbolt team password manager
Install Passbolt Community Edition from its package repository with Nginx, MariaDB and a Let's Encrypt certificate, then finish setup with SMTP and a server key.
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.
Forgejo Git server
Run Forgejo and PostgreSQL with Docker Compose, configure it through environment variables, serve it with Caddy over HTTPS and clone over SSH on port 2222.
GitLab Community Edition
Install GitLab CE from the official package with its bundled Nginx and Let's Encrypt, tune memory for a smaller server, and set up mail, backups and upgrades.
Gogs Git service
Install the Gogs binary release under a git user with MariaDB and systemd, finish the web installer through Nginx with HTTPS, then add mail and backups.
Wiki.js
Run Wiki.js 2 with PostgreSQL in Docker Compose behind Nginx and Certbot, finish the setup wizard, sync pages to Git and send mail through a relay.
BookStack documentation
Install BookStack on Nginx, PHP-FPM and MariaDB, sign in, swap the default admin, add HTTPS and mail, then keep it updated from the release branch.
Outline knowledge base
Run the Outline team wiki with Docker Compose, PostgreSQL and Redis, sign in through OpenID Connect, and publish it behind Caddy with automatic HTTPS.
Paperless-ngx documents
Scan, OCR and search your paperwork with Paperless-ngx in Docker Compose, PostgreSQL and Redis, served over HTTPS by Caddy with regular exports.
n8n workflow automation
Self-host n8n with Docker Compose and PostgreSQL, publish webhooks over HTTPS through Nginx, keep the encryption key safe and update without losing workflows.
Activepieces automation
Deploy the open source Activepieces automation builder with its own Compose setup, lock the port to localhost and serve it over HTTPS with Caddy.
Plausible Analytics (Community Edition)
Run Plausible Community Edition with its official Compose repository, ClickHouse and PostgreSQL, behind Caddy, and add the tracking snippet to your sites.
Umami analytics
Install the lightweight Umami analytics app with Docker Compose and PostgreSQL, publish it through Nginx with HTTPS and add the tracker to your pages.
Mattermost team chat
Deploy Mattermost with the official Docker repository and PostgreSQL, put Nginx with WebSocket support in front, set up SMTP notices and open the Calls port.
Matrix Synapse with Element
Install the Synapse Matrix homeserver from the official packages with PostgreSQL, delegate your domain, add Element Web and federate over HTTPS.
Jitsi Meet video calls
Install Jitsi Meet from its official apt repository, open UDP 10000 for media, get a certificate during setup and require a login to start meetings.
ONLYOFFICE Docs with Nextcloud
Run the ONLYOFFICE Docs editing server in Docker behind Nginx with HTTPS and a JWT secret, then connect it to Nextcloud for in-browser documents.
HashiCorp Vault secrets server
Install HashiCorp Vault from the vendor package repository, store data with integrated Raft storage, initialise unseal keys and serve the API over HTTPS.
OpenBao secrets management
Install OpenBao from its release package, store secrets on Raft, initialise with Shamir unseal keys and reach the bao API through an HTTPS proxy.
Infisical secrets manager
Self-host Infisical with Docker Compose, PostgreSQL and Redis behind an HTTPS proxy, then sync environment secrets into apps with the CLI.
Authelia SSO and forward auth
Put Authelia in front of your self-hosted apps so one login with two-factor protects them all, using forward auth in Caddy or Nginx.
Zitadel identity platform
Self-host the Zitadel identity platform with PostgreSQL in Docker Compose, serve it over HTTPS with HTTP/2, and add OIDC login to your apps.
VS Code in the browser (code-server)
Install code-server as a systemd service for your user, keep it on loopback, and reach a full VS Code editor in the browser over HTTPS.
Joplin Server for notes sync
Host Joplin Server with PostgreSQL in Docker Compose behind HTTPS so your Joplin desktop and mobile apps sync notes to a server you control.
Firefly III personal finance
Run the Firefly III budgeting app with MariaDB in Docker Compose, add HTTPS, the cron job for recurring transactions and mail through a relay.
Snipe-IT asset tracking
Install Snipe-IT on Nginx, PHP-FPM and MariaDB with Composer, add HTTPS and the scheduler, and track hardware, licences and check-outs.
Odoo ERP on Ubuntu or Debian
Install Odoo Community from the official nightly package repository with PostgreSQL, run it on loopback and publish it through Nginx with HTTPS.
ERPNext with frappe_docker
Deploy ERPNext with the official frappe_docker compose files, create a site with bench, and serve it through Nginx with HTTPS.
Dolibarr ERP and CRM with Nginx
Install Dolibarr from the release archive on Nginx, PHP-FPM and MariaDB, finish the web installer, then lock it and add HTTPS.
Penpot design tool with Docker
Self-host Penpot, the open source design and prototyping tool, with the official compose file, HTTPS through Nginx and SMTP for invitations.
Planka kanban boards
Run Planka, a realtime kanban board app, with Docker Compose and PostgreSQL, create the first admin, then serve it over HTTPS.
Leantime project management
Deploy Leantime with the official docker-leantime setup and MySQL, run the browser installer, then add HTTPS, mail and backups.
Wekan boards with Docker
Run Wekan, the open source kanban board with swimlanes, on Docker with MongoDB, publish it over HTTPS and send notices through an SMTP relay.
Cal.com scheduling
Self-host Cal.com booking pages with the official Docker image and PostgreSQL, set the URLs and secrets, add HTTPS and connect an SMTP relay.
Chatwoot support inbox
Install Chatwoot with its production Docker Compose file, prepare the database, publish it over HTTPS and connect SMTP for agent and customer emails.
Mautic marketing automation
Run Mautic marketing automation from the official Docker image with MariaDB, finish the installer over HTTPS, and schedule its segment and campaign jobs.
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.
UVdesk help desk
Install the UVdesk Community help desk on Nginx, PHP-FPM and MariaDB with Composer, finish the web wizard, connect a support mailbox and add HTTPS.
YetiForce CRM
Install YetiForce CRM from its complete release package on Nginx, PHP-FPM and MariaDB, pass the configuration checker, schedule cron and secure it with HTTPS.
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.
wg-easy WireGuard web UI
Run wg-easy with Docker Compose to manage WireGuard clients in a browser, with the admin page kept on localhost behind HTTPS.
WGDashboard for WireGuard
Install WGDashboard natively to manage several WireGuard interfaces and peers from one web panel, served over HTTPS with two-factor sign-in.
OpenVPN server with easy-rsa
Build an OpenVPN server step by step: easy-rsa certificate authority, server.conf with IPv6, NAT, and single-file client profiles.
Pritunl VPN server
Install Pritunl with MongoDB from the vendor repositories and manage OpenVPN and WireGuard users, organizations and servers from a web console.
OpenConnect VPN server (ocserv)
Run ocserv on TCP and UDP 443 with a trusted certificate, password or client-certificate login, and AnyConnect-compatible clients.
AdGuard Home DNS filter
Run AdGuard Home as a private ad and tracker filter for your own devices over DNS-over-HTTPS and DNS-over-TLS, locked to your clients only.
Pi-hole DNS sinkhole
Run Pi-hole v6 on a VPS as a private ad and tracker blocking resolver for your home IP and VPN clients, locked down with ufw.
Unbound validating resolver
Run Unbound as a recursive, DNSSEC validating resolver that serves only localhost, your own IPs and VPN clients.
Technitium DNS Server
Install Technitium DNS Server for recursion, block lists and your own zones in one web console, with recursion limited to trusted networks.
IPsec VPN with strongSwan
Build an IKEv2 IPsec VPN with strongSwan and swanctl: a trusted certificate, password logins for road warriors, NAT and a site-to-site option.
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.
Shadowsocks proxy server
Install shadowsocks-rust from the official release, use a 2022 AEAD cipher with a random key, run it under systemd and connect with sslocal.
Authoritative DNS with BIND 9
Host your own domain on two BIND 9 name servers: recursion off, a signed primary zone, a TSIG protected secondary and glue at the registrar.
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.
Uptime Kuma status page
Run Uptime Kuma in Docker on localhost, publish it with HTTPS through Caddy and check websites, ports and certificates with a public status page.
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.
Beszel lightweight monitoring
Run the Beszel hub in Docker behind HTTPS, add a local agent through a socket and connect remote servers with a key and a narrow firewall rule.
Loki and Alloy for central logs
Collect journal and file logs with Grafana Alloy, store them in Loki on localhost and search them in Grafana; includes the move away from Promtail.
Cacti graphs with SNMP
Install Cacti and Spine from Ubuntu or Debian packages, tune MariaDB, reach the UI safely and graph remote servers with encrypted SNMPv3.
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.
Graylog log management
Install Graylog with MongoDB and the Graylog Data Node, keep the web interface on localhost or behind HTTPS, and send syslog from your servers.
Observium network monitoring
Install Observium Community Edition with Apache, PHP and MariaDB, poll servers and network gear over SNMP and keep the web interface private.
Vector log and metrics pipeline
Collect journal logs and host metrics with Vector, reshape them with VRL, and ship them to files, Prometheus or a central Vector over TLS.
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.
Postfix, Dovecot and Roundcube by hand
Assemble a mail server piece by piece: Postfix for SMTP, Dovecot for IMAP and login, Roundcube for the browser, all with real TLS.
SpamAssassin with Postfix
Score every incoming message with SpamAssassin, tag the obvious junk, file it into a Junk folder and teach the filter with your own mail.
SnappyMail webmail
Put a fast, modern webmail in front of any IMAP mailbox with SnappyMail, Nginx, PHP-FPM and a free TLS certificate.
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.
Spigot and Paper plugins
Switch a Minecraft server to Paper or build Spigot with BuildTools, then install, configure and update plugins without breaking the world.
Find and fix Minecraft lag
Tell server lag from network and client lag, profile ticks with spark, then fix chunks, entities, JVM flags and the plan size in the right order.
SteamCMD for dedicated servers
Install SteamCMD from the Ubuntu or Debian archive, keep it under a dedicated steam user, and download, update and launch dedicated game servers.
Counter-Strike 2 dedicated server
Download the Counter-Strike 2 server with SteamCMD, register a game server login token, and run matches as a systemd service under a steam user.
Factorio headless server
Download the official Factorio headless build, create a save, set server-settings.json and run the factory around the clock under a factorio user.
TeamSpeak 3 server
Install the TeamSpeak 3 server from the official archive, accept the license, claim admin rights with the privilege key and open only the voice ports.
OpenTTD dedicated server
Host a multiplayer OpenTTD map on its own Linux account with the official build, OpenGFX graphics, a systemd unit and regular autosaves.
PufferPanel game panel
Install PufferPanel from its package repository, put the web panel behind HTTPS and let it start game servers under its own unprivileged account.
Valheim dedicated server
Install the Valheim dedicated server with SteamCMD, run it as a non-root user under systemd, keep world backups and open the right UDP ports.
Terraria server with TShock
Host a Terraria world with TShock for logins, groups and anti grief tools, run it inside tmux under systemd and keep worlds backed up.
Mumble voice server
Install the Mumble server from the Ubuntu or Debian archive, set a SuperUser password, add a trusted TLS certificate and organise channels with ACLs.
ET: Legacy server
Host Wolfenstein: Enemy Territory with the open source ET: Legacy server, the original game data, your own config, map rotation and a systemd unit.
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.
aaPanel hosting panel
Run the aaPanel install script on a clean Ubuntu or Debian server, pick an LNMP or LAMP stack and manage sites, databases and SSL from one dashboard.
FASTPANEL hosting panel
Install FASTPANEL with its vendor script on a clean Ubuntu or Debian server, activate the license, then add sites, databases and certificates.
Cloudron app platform
Install Cloudron on a fresh Ubuntu 24.04 server, connect a domain with a wildcard record and install self-hosted apps with automatic updates and TLS.
Plesk hosting panel
Run the Plesk one-click installer on a clean Ubuntu or Debian server, sign in on port 8443, add a licence and host sites with free certificates.
Webuzo hosting panel
Install Webuzo with its shell installer on a clean Ubuntu server, reach the admin panel on port 2005 and the user panel on 2003, then add domains and apps.
HestiaCP open source panel
Install HestiaCP with its official script on a clean Debian or Ubuntu server, choose the components, sign in on port 8083 and host sites, mail and DNS.
CyberPanel with OpenLiteSpeed
Install CyberPanel on a clean Ubuntu server with OpenLiteSpeed, sign in on port 8090, host sites with free certificates and keep the panel upgraded.
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.
Media and streaming
Jellyfin media server
Install Jellyfin from its official APT repository, put it behind Nginx with HTTPS, and tune libraries for direct play on a CPU-only server.
Plex Media Server
Install Plex Media Server from the vendor APT repository, claim it through an SSH tunnel and serve your own library with direct play on CPU.
Emby server
Install Emby Server from the official .deb release, serve it over HTTPS through Caddy and keep streams in direct play on shared vCPUs.
Navidrome music streaming
Run Navidrome as a systemd service for your own music collection, with an Nginx HTTPS proxy and Subsonic apps on phone and desktop.
Icecast internet radio
Install Icecast from the distribution archive, feed it a playlist or a live DJ source, and publish the stream over HTTPS.
SHOUTcast server
Run the SHOUTcast DNAS 2 server as a systemd service, configure stream IDs and passwords, and feed it from Liquidsoap or a desktop broadcaster.
Live streaming with Nginx RTMP and OBS
Turn Nginx into an RTMP ingest with a publish key, send video from OBS, and deliver it to viewers as HLS over HTTPS.
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.
Apache Kafka (KRaft)
Run Apache Kafka 4 without ZooKeeper: Java, a combined KRaft node under systemd, SCRAM users over TLS and a firewalled three-node quorum.
Mosquitto MQTT broker
Install the Mosquitto MQTT broker, require passwords and per-topic ACLs, serve MQTT over TLS on 8883 and bridge edge brokers to a central one.
NATS server and JetStream
Install the NATS server binary, define accounts and JetStream storage, protect clients with TLS and form a three-node cluster across public IPs.
Apache ActiveMQ Classic
Install ActiveMQ Classic 6 on Java 17 or 21, run it under systemd, require broker logins, add an SSL transport and link brokers across servers.
Redpanda streaming platform
Install Redpanda from its APT repository, size it for shared vCPUs, use rpk for topics, add SASL with TLS and join three nodes over public IPs.