Most VPN setups that fail were doomed before the install started: the wrong server type, a port already taken, a missing IPv4 address. Ten minutes of checks on a fresh VPS prevents nearly all of it. Do these once, in order, before installing anything.
1. It's a virtual machine, not a container
systemd-detect-virt
You want kvm, qemu, xen or vmware. openvz or lxc means a container that may not support WireGuard. What that means for VPNs.
2. The operating system is supported
cat /etc/os-release
Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS Stream, RHEL, Oracle Linux, Fedora and Alpine all work with Nullsify, on 64-bit servers. Ubuntu or Debian is the smoothest for a first setup. On the Red Hat family, read this first.
uname -m
x86_64 or aarch64 are both fine.
3. It has a public IPv4 address
curl -4 ifconfig.me
If that fails or prints nothing, the server has no IPv4, and clients on most networks won't reach a VPN there. Why IPv4 matters.
4. You can log in with the credentials you'll use
SSH in from your own computer first. If you can't, nothing else will work. A step-by-step diagnosis if it fails. Also decide whether you'll use root or a sudo user, and a password or a key: a key protected by a passphrase isn't supported by Nullsify.
5. The package manager isn't busy
New servers often run updates when they first boot. Wait until this prints nothing:
ps aux | grep -E 'apt|dpkg|unattended' | grep -v grep
Otherwise you'll hit the dpkg lock error.
6. The ports you need are free
sudo ss -tulpn | grep -E ':443 |:51820 '
No output means both are free. If a web server holds 443, decide what to do about it now, not halfway through the install.
7. Nothing else VPN-like is installed
A leftover Xray, an old WireGuard config, a panel such as 3x-ui: any of these conflict with a new install, and Nullsify refuses to overwrite a setup it didn't create. Start on a clean server if you can. The messages Nullsify shows are explained.
8. The server can reach the internet, including GitHub
curl -sI https://github.com | head -1
You should see HTTP/2 200. Nullsify's agent downloads from GitHub, and some countries and IPv6-only servers can't reach it.
9. There's disk space and memory
df -h /
free -m
A VPN needs very little: a few hundred megabytes of disk and 512 MB of memory is workable, and 1 GB is comfortable.
10. The host's firewall allows your ports
Open the provider's firewall or security group and allow inbound UDP 51820 (WireGuard, AmneziaWG) and TCP 443 (VLESS), plus TCP 22 for SSH. This is the one step no command on the server can verify, and the most common reason a finished install doesn't connect. How to check a port properly.
Ready?
If all ten pass, the install itself is short. Follow how to make your own VPN or the setup guide for your provider. If something fails later, the 15 most common installation errors are listed in order, and the debugging checklist finds the cause when the VPN won't connect.