Browse by topic
Each topic page lists every guide in it. Start with Your server and account if this is your first server, or pick a distribution: Ubuntu (360), Debian (357), Rocky Linux (238), AlmaLinux (237), FreeBSD (6).
Your server and account
Deploying, connecting, power actions, SSH keys, invoices, renewals and tickets in the BitcoinVPS console.
11 guides
Server basics
Users, swap, time, packages, services, release upgrades and the everyday care of a Linux server.
25 guides
Security
Firewalls inside the OS, SSH hardening, brute force protection, certificates and intrusion checks.
19 guides
Networking and diagnostics
IPv6, DNS lookups, open ports, packet captures, path traces and bandwidth tools.
14 guides
Web servers and proxies
Nginx, Apache, OpenLiteSpeed, HAProxy, Traefik, redirects, compression and reverse proxies.
16 guides
PHP and web stacks
LAMP and LEMP stacks, PHP-FPM, Composer, Laravel and database admin tools.
11 guides
Go, Ruby, Java and other runtimes
Go, Ruby on Rails, OpenJDK, Rust, .NET, R, FFmpeg and SQLite on a server.
9 guides
Databases
MySQL, MariaDB, PostgreSQL, MongoDB, Redis and more, with backups, users and replication.
28 guides
Containers and PaaS
Docker Compose, volumes, logs, Podman, Swarm and self-hosted deploy platforms.
14 guides
Websites, CMS and shops
WordPress, Ghost, forums, wikis, e-commerce platforms and web analytics.
19 guides
Self-hosted apps
Files, passwords, Git, wikis, chat, automation, analytics and business apps you run yourself.
58 guides
VPN and private DNS
WireGuard, OpenVPN, IPsec, proxies, ad-blocking DNS and recursive resolvers.
14 guides
Email servers
Mail server suites, Postfix and Dovecot, spam filtering, webmail and DNS records for mail.
7 guides
Game and voice servers
Minecraft, SteamCMD games, Factorio, Valheim, TeamSpeak, Mumble and game panels.
13 guides
File transfer and archives
rsync, scp, sftp, archives, deduplicated backups and full-disk copies.
9 guides
Linux command line
The commands you use every day: files, text, search, editors and manual pages.
16 guides
Bash scripting
Scripts, variables, conditions, loops, arrays, functions, input and error handling.
10 guides
Developer tools and CI
Jenkins, SonarQube, self-hosted CI runners, Airflow and version control servers.
7 guides
Your server and account
- Deploy a server from the console
- Connect with PuTTY on Windows
- Restart, stop and start a server
- Destroy a server you no longer need
- Manage SSH keys in the console
- Your account key and sign-in
- Pay an invoice with crypto
- Renewals, pauses and removal
- Open and follow support tickets
- Your server IPv4 and IPv6 addresses
- Labels and hostnames
Server basics
- Create a sudo user
- Add a swap file
- Change the hostname
- Time zone and time sync
- File and directory permissions
- Choose a Linux distribution
- Upgrade Ubuntu to the next LTS
- Upgrade Debian to a new major release
- Rocky or AlmaLinux to a new major version
- Automatic security updates
- Run an app as a systemd service
- Schedule jobs with cron and systemd timers
- Environment variables on Linux
- Check disk space and find what fills it
- Inspect processes and memory
- Read the hardware and system report
- Reboot and shut down safely
- Customise the login message (MOTD)
- Remote desktop with Xfce and xrdp
- SELinux on Rocky Linux and AlmaLinux
- Keep sessions alive with tmux
- SFTP-only users in a chroot
- apt and dnf package management
- First-hour checklist for a new server
- Upgrade FreeBSD to a new release
Security
- UFW firewall on Ubuntu and Debian
- firewalld on Rocky Linux and AlmaLinux
- iptables rules that survive a reboot
- Block brute force logins with fail2ban
- CrowdSec intrusion prevention
- Two-factor SSH logins with TOTP
- Disable or restrict root login
- Alerts for every SSH login
- Advanced OpenSSH settings
- Publish SSH host keys in DNS (SSHFP)
- Audit open ports with nmap
- File integrity checks with AIDE and Tripwire
- CSF firewall (ConfigServer Security)
- First security steps on Rocky and Alma
- Free TLS certificates with Certbot
- Self-signed certificates and a private CA
- Rate and connection limits in Nginx
- Wazuh security monitoring
- Kernel and sysctl hardening
Networking and diagnostics
- FreeRADIUS with PostgreSQL
- IPv6 on your server
- The ip command
- DNS lookups with dig
- Listening ports with ss and netstat
- Test ports and transfer data with netcat
- Trace network paths with mtr
- Capture packets with tcpdump
- Live bandwidth with iftop and nethogs
- HTTP requests with curl
- Dynamic DNS updates from a server
- Latency graphs with SmokePing
- Traffic analysis with ntopng
- Check which ports are reachable
Web servers and proxies
- Install and configure Nginx
- Install and configure Apache
- OpenLiteSpeed web server
- HAProxy load balancer and TLS proxy
- Load balancing with Nginx upstreams
- Nginx as a reverse proxy for an app
- Apache as a reverse proxy
- Compression with gzip and Brotli
- HTTPS and www redirects
- Turn off Apache directory listings
- Nginx Proxy Manager with Docker
- Nginx UI web interface
- Traefik for Docker containers
- Apache Tomcat for Java apps
- Encrypted FTP with vsftpd (FTPS)
- Varnish cache in front of a site
PHP and web stacks
- LAMP stack: Apache, MariaDB, PHP
- LEMP stack: Nginx, MySQL, PHP-FPM
- Install PHP 8 and PHP-FPM
- Run PHP 7.4 or 5.6 for legacy apps
- Upgrade PHP to a newer version
- Separate PHP-FPM pools per site
- Composer for PHP projects
- Deploy Laravel with Nginx
- Deploy Laravel with Apache
- phpMyAdmin behind HTTPS
- Adminer: one-file database UI
Node.js
Python
- Install Python 3, pip and venv
- Run legacy Python 2 code
- Manage Python projects with Poetry
- Miniconda and Anaconda on a server
- Deploy Flask with Gunicorn and Nginx
- Deploy FastAPI with Uvicorn workers
- Deploy Django with Gunicorn and Nginx
- Background tasks with Celery and Redis
- Host a Python Discord bot
- Containerise a Python web app
- JupyterLab on a server
- Host a Python Telegram bot
Go, Ruby, Java and other runtimes
Databases
- Install MySQL 8
- Install MariaDB
- Install PostgreSQL
- Install MongoDB
- PostgreSQL JSON, arrays and special types
- PostgreSQL views, triggers and CTEs
- PostgreSQL full-text search and encryption
- MySQL keys, indexes and full-text search
- MySQL JSON, views and stored procedures
- Apache Solr search server
- Install Redis or Valkey
- Install Memcached
- Apache Cassandra cluster
- Install Apache CouchDB
- InfluxDB for time series
- Install Elasticsearch
- Back up and restore MySQL and MariaDB
- Back up and restore PostgreSQL
- MySQL users, roles and passwords
- PostgreSQL roles and permissions
- Repair a crashed MySQL table
- PostgreSQL streaming replication
- MongoDB replica set
- PostGIS for location data
- Database insight with PgHero
- Couchbase Server
- ArangoDB multi-model database
- Remote database access over SSH
Containers and PaaS
- Docker Compose stacks
- Docker volumes and bind mounts
- Read and limit Docker logs
- Free disk space used by Docker
- Build, tag and push Docker images
- Run and manage containers
- Podman and rootless containers
- Docker Swarm across servers
- Automatic updates with Watchtower
- Portainer CE web UI
- Dokploy self-hosted PaaS
- CapRover PaaS
- Dokku git push deploys
- Coolify on your own server
Websites, CMS and shops
- WordPress on Nginx, PHP-FPM, MariaDB
- Fix common WordPress errors
- Back up WordPress (3-2-1 rule)
- WordPress caching with Redis
- WooCommerce shop setup
- Ghost publishing platform
- Moodle learning platform
- phpBB forum
- Flarum forum
- Discourse community forum
- MediaWiki on Nginx and MariaDB
- Magento Open Source with OpenSearch
- PrestaShop store on Nginx
- OpenCart shop on Nginx
- Matomo web analytics
- Static site with Nginx and rsync
- Joomla on Nginx and PHP-FPM
- Drupal with Composer and Drush
- Vanilla Forums open source
Self-hosted apps
- Nextcloud on Nginx
- ownCloud Infinite Scale
- Seafile file sync
- Vaultwarden password vault
- Passbolt team password manager
- Gitea Git hosting
- Forgejo Git server
- GitLab Community Edition
- Gogs Git service
- Wiki.js
- BookStack documentation
- Outline knowledge base
- Paperless-ngx documents
- n8n workflow automation
- Activepieces automation
- Plausible Analytics (Community Edition)
- Umami analytics
- Mattermost team chat
- Matrix Synapse with Element
- Jitsi Meet video calls
- ONLYOFFICE Docs with Nextcloud
- HashiCorp Vault secrets server
- OpenBao secrets management
- Infisical secrets manager
- Authelia SSO and forward auth
- Zitadel identity platform
- VS Code in the browser (code-server)
- Joplin Server for notes sync
- Firefly III personal finance
- Snipe-IT asset tracking
- Odoo ERP on Ubuntu or Debian
- ERPNext with frappe_docker
- Dolibarr ERP and CRM with Nginx
- Penpot design tool with Docker
- Planka kanban boards
- Leantime project management
- Wekan boards with Docker
- Cal.com scheduling
- Chatwoot support inbox
- Mautic marketing automation
- DocuSeal document signing
- Metabase dashboards
- Appwrite backend server
- Self-hosted Supabase
- PocketBase backend
- RustDesk relay server
- Traccar GPS tracking
- Redmine project tracker
- The Lounge IRC client
- CyberChef data toolbox
- Typebot chat forms
- AFFiNE workspace
- Overleaf Community Edition
- Neko shared virtual browser
- imgproxy image resizing
- NetBox network inventory
- UVdesk help desk
- YetiForce CRM
VPN and private DNS
- WireGuard VPN server (manual setup)
- wg-easy WireGuard web UI
- WGDashboard for WireGuard
- OpenVPN server with easy-rsa
- Pritunl VPN server
- OpenConnect VPN server (ocserv)
- AdGuard Home DNS filter
- Pi-hole DNS sinkhole
- Unbound validating resolver
- Technitium DNS Server
- IPsec VPN with strongSwan
- Squid forward proxy with authentication
- Shadowsocks proxy server
- Authoritative DNS with BIND 9
Monitoring and logs
- Netdata real-time monitoring
- Uptime Kuma status page
- Prometheus and node_exporter
- Grafana dashboards
- Zabbix monitoring
- Nagios Core
- Beszel lightweight monitoring
- Loki and Alloy for central logs
- Cacti graphs with SNMP
- Monit for self-healing services
- btop, htop and other live monitors
- Central logs with rsyslog
- Rotate logs with logrotate
- Read logs with journalctl
- Graylog log management
- Observium network monitoring
- Vector log and metrics pipeline
Email servers
Game and voice servers
- Minecraft Java server
- Spigot and Paper plugins
- Find and fix Minecraft lag
- SteamCMD for dedicated servers
- Counter-Strike 2 dedicated server
- Factorio headless server
- TeamSpeak 3 server
- OpenTTD dedicated server
- PufferPanel game panel
- Valheim dedicated server
- Terraria server with TShock
- Mumble voice server
- ET: Legacy server
Control panels
- Webmin system admin panel
- Virtualmin web hosting panel
- Cockpit server console in the browser
- aaPanel hosting panel
- FASTPANEL hosting panel
- Cloudron app platform
- Plesk hosting panel
- Webuzo hosting panel
- Control Web Panel (CWP) on Rocky or Alma
- HestiaCP open source panel
- CyberPanel with OpenLiteSpeed
- Move cPanel accounts to a new server
File transfer and archives
Linux command line
- Copy files and directories with cp
- Move and rename with mv
- Create directories and empty files
- List files with ls, find your place with pwd
- Read files with cat, less and tail
- Find files with find and locate
- Search text with grep
- Edit and report text with sed and awk
- echo, tee and wc
- Edit files with nano
- Edit files with Vim
- Read manual pages
- Users and groups
- Ownership with chown and chgrp
- Symbolic and hard links
- Pipes, redirection and xargs