VMHeaven Blog
Guides, fixes and comparisons
Things we end up explaining often, written down properly, so you can fix it yourself at three in the morning without opening a ticket.
Latest articles
unable to get local issuer certificate: fix it in curl, git, Python and Node.js
unable to get local issuer certificate in curl, git, pip or npm: check the CA bundle, the server's intermediate and proxy CAs; never turn verification off.
~8 min14 Nov 2026ReadTroubleshootingGit detached HEAD: what it means, how to keep your commits and get back
Git detached HEAD means a commit, not a branch, is checked out. Why it happens, how to keep commits with a branch, get back, and recover them with reflog.
~7 min14 Nov 2026Troubleshootingerror: failed to push some refs: every cause and the fix for each
Git failed to push some refs: read the reason line. Fixes for rejected fetch first, non-fast-forward, src refspec main, hooks and protected branches.
~8 min14 Nov 2026Troubleshootinggrub rescue>: what the prompt means, how to boot once and how to reinstall GRUB
Stuck at grub rescue>? Find /boot/grub with ls, set prefix and root, insmod normal, boot once, then reinstall GRUB for BIOS or UEFI from Linux or a live ISO.
~8 min14 Nov 2026TroubleshootingKernel panic: not syncing: read the message, boot an older kernel, rebuild initramfs
Kernel panic not syncing: decode VFS: Unable to mount root fs, Attempted to kill init and out of memory panics, boot an older kernel and rebuild initramfs.
~8 min14 Nov 2026Windows and RDP
Connect to a Windows server, fix Remote Desktop errors and run Windows Server day to day.
42 articles
Connecting over RDP
Fixing Remote Desktop problems
Setting up and securing RDP
- How to enable RDP on Windows Server
- RDP port
- How to change the RDP port on Windows Server without locking yourself out
- How to secure a Windows RDP server
- Open a port in Windows Server Firewall (GUI, PowerShell and netsh)
- Use a VPN on a Windows RDP server without locking yourself out
- xrdp on Ubuntu and Debian
- Ubuntu Server GUI
- VNC port and VNC server on Ubuntu
- Remote Desktop Gateway (RD Gateway)
Running Windows Server
Software and trading on Windows
- Install Google Chrome on Windows Server 2022 and 2019 (without fighting IE)
- Install winget on Windows Server 2025, 2022 and 2019, or use Chocolatey
- How to install OpenSSL on Windows and Windows Server
- wget and curl on Windows
- Run MetaTrader 4 or 5 on a Windows VPS 24/7
- NinjaTrader VPS
- How to install WSL on Windows 11, Windows 10 and Windows Server 2022/2025
mstsc and RDP Wrapper
SSH and file transfer
Log in with keys, fix SSH errors and copy files with scp, rsync and SFTP.
25 articles
Connecting with SSH
Configuring and securing SSH
Fixing SSH errors
Copying files to a server
Old servers and key algorithms
Linux commands
The everyday shell commands for files, text, permissions and terminal sessions, with real examples.
51 articles
Files and folders
Finding and reading text
Permissions and archives
Shell and scripting
- Types of shell in Linux
- echo command in Linux and bash
- How to redirect stdout and stderr to a file in Bash
- How to set an environment variable in Linux
- alias command in Linux and bash
- xargs command in Linux
- bash sleep command
- man command in Linux
- The tee command in Linux
- source: not found in sh, a Dockerfile or a Makefile?
Editors and terminal sessions
Linux server administration
Users, services, cron, processes, memory, disks and upgrades on a running server.
49 articles
First steps on a new server
- Initial server setup
- Create a sudo user on Ubuntu, Debian and Rocky Linux
- Add a user to a group in Linux
- How to list users and groups in Linux (and see who is logged in)
- Change the hostname on Ubuntu (and Debian or Rocky Linux) without a reboot
- Linux date and timezone
- How to check your Linux version
- Ubuntu system requirements
- usermod: command not found on Debian?
- 'User is not in the sudoers file'
Services, cron and logs
Processes, CPU and memory
Disks, files and limits
Distributions and upgrades
Logical volumes (LVM)
Packages and command not found
Missing commands, apt and dpkg errors, and installing software the right way.
45 articles
Why a command is not found
apt and dpkg errors
Installing packages
Missing system tools
Missing developer tools
Maven and Android tools
Web servers and HTTP errors
nginx, Apache and Caddy setups, redirects, WordPress, and the HTTP status codes from 301 to 504.
34 articles
Setting up a web server
nginx errors
4xx client errors
5xx server errors
Redirects and caching
Wrong method and oversized headers
SSL and browser errors
Cloudflare 52x errors, certificate warnings and the connection errors Chrome and Firefox show.
27 articles
Cloudflare 52x errors
Certificates and TLS
Connection errors in the browser
Cache and QUIC errors in Chrome
Networking and DNS
DNS, ports, IP addresses and the tools that test a connection from end to end.
44 articles
How DNS works
DNS problems and tools
Ports and protocols
Testing a connection
IP addresses
Networking basics
Capturing packets
Security and privacy
Firewalls, VPNs and Tor, pentesting from a VPS, and paying for a server privately.
24 articles
Hardening a server
VPNs, Tailscale and Tor
Pentesting
Privacy and crypto payments
Docker, databases and apps
Docker, MySQL, PostgreSQL and Redis, language runtimes, and apps you can host yourself.
57 articles
Docker basics
Docker errors and alternatives
Installing a database
- Install MariaDB or MySQL on Ubuntu 24.04 and Debian 12/13
- Install PostgreSQL on Ubuntu 24.04 and Debian 12/13 and allow remote connections
- PostgreSQL vs MySQL
- MySQL vs SQLite
- How to install SQLite on Ubuntu, Debian and Windows
- How to install Redis on Ubuntu and Debian
- Install MongoDB on Ubuntu and Debian
- DynamoDB vs MongoDB
- Redis vs Kafka
Database users, backups and errors
Languages and runtimes
- How to install Node.js on Ubuntu, Debian and Windows
- How to install Python on Ubuntu and Debian
- How to check the Python version on Windows, Linux and macOS
- How to install pip on Windows, Linux and macOS
- How to install Go (Golang) on Linux and Windows
- How to install Java on Windows and Ubuntu
- How to install Rust on Linux with rustup
- Segmentation fault (core dumped)
- Deno vs Node.js
Git
Self-hosted apps
Media and streaming
Containers on several servers
Game servers
Dedicated servers for Minecraft, Palworld, Valheim, ARK, Rust and more, plus voice and bots.
20 articles
Minecraft and sandbox games
Survival games
- Palworld dedicated server on Linux
- Valheim dedicated server hosting on Linux
- Enshrouded dedicated server
- Satisfactory dedicated server on Linux
- ARK: Survival Ascended dedicated server on a Windows VPS
- Rust server hosting on your own VPS
- 7 Days to Die dedicated server on Linux
- Project Zomboid dedicated server hosting on Linux
Roleplay, shooters, voice and bots
Minecraft server software
Hosting basics and providers
What a VPS, KVM and bare metal are, the hardware behind them, and how hosts compare.
38 articles
VPS and server basics
Virtualization
Storage and hardware
Choosing a host
Control panels and migration
Proxmox add-ons
Choosing an operating system
Articles by type
Troubleshooting
Errors on a fresh server, fixed
Shell errors, missing packages and PATH problems on Linux servers: what causes them and the exact command that fixes each one.
Browse271 articlesGuides
How to set things up properly
Step-by-step guides for running a VPS: base setup, hardening, payments and privacy, written for people who administer their own servers.
Browse48 articlesComparisons
Hosts and hardware, side by side
Honest comparisons of hosting providers, CPU lines and plan types, with the numbers that actually decide which one fits your workload.
Browse