You can check the ports on a Linux VPS from two places. On the server, ss lists the sockets the kernel holds. It shows the same kind of information as netstat. From another machine, nmap shows which of those ports a remote client can reach. nmap calls a port open when an application is accepting TCP connections, UDP …
Read MoreIf you run a long job on a VPS inside tmux, the job keeps going when your SSH connection drops. tmux is a terminal multiplexer, and one of its main uses is protecting running programs on a remote server from connection drops. A tmux session survives an accidental disconnection, such as an ssh connection timeout. It …
Read MoreUbuntu uses chrony to keep the system clock in sync, and chrony is installed by default as of Ubuntu 25.10. On older releases systemd-timesyncd was the default, and chrony takes one apt command to install. Where Clock Errors and Time Jumps Show Up TLS certificates Every X.509 certificate carries a validity period, from …
Read MoreA fresh PostgreSQL install on Ubuntu accepts connections from the local system only. The listen_addresses setting defaults to localhost, which allows TCP connections over the loopback interface and nothing else. On a VPS with a public IP address, that is the right state to start from. Opening the database to a remote …
Read MoreThe restic backup program runs when you execute it and then exits. It is not a daemon, and it has no built-in way of scheduling backups. On a Linux VPS, systemd handles the scheduling; systemd timers in place of cron covers the timer basics, and rsync and cron backups is the unencrypted alternative. Each run produces a …
Read MoreHarden a systemd Service: ProtectSystem and NoNewPrivileges
Oct 20, 2026 / · 11 min read · systemd systemd-hardening linux-security sandboxing protectsystem nonewprivileges linux-server sysadmin devops linux-vps ·Run systemd-analyze security against two ordinary services on the same host and the scores can land almost six points apart — one near UNSAFE, the other down close to OK — without either service being broken or badly written. On a stock Ubuntu box running systemd 259, cron.service measures 9.6 UNSAFE while …
Read Morejournald Disk Usage: Why a Short Log Line Costs Tens of KB
Oct 14, 2026 / · 8 min read · journald systemd linux logging disk-usage sysadmin linux-vps devops journalctl linux-server ·A systemd bug report opened on January 3, 2026, put a number on something Linux admins had long suspected: systemd-journald writes far more data to disk than the log text it stores. The reporter, running systemd 257.9 on Debian 13 (kernel 6.12.57+deb13-amd64) with the journal on XFS, saw a virtual machine doing about …
Read MoreHow to Install Portainer and Manage Docker on a Linux VPS
Sep 19, 2026 / · 14 min read · portainer docker containers linux vps sysadmin devops self-hosted docker-compose web-ui ·Portainer is a web dashboard for the Docker engine already running on your VPS. Its documentation describes the goal as hiding the complexity of managing containers behind an easy-to-use UI, so everyday container work doesn't depend on remembering CLI flags. That is a real convenience once a server runs more than a …
Read MoreHow to Add a Swap File on a Linux VPS
Sep 11, 2026 / · 9 min read · swap swap-file linux vps memory-management sysadmin ubuntu virtual-memory devops kernel ·Every VPS plan advertises a fixed amount of RAM, and sooner or later something on that server needs more than the plan provides — a backup job, a batch import, a burst of concurrent requests that all land at once. Without a safety net, the kernel's out-of-memory handling starts ending processes to keep the system …
Read MoreHow to Set Up WireGuard on a Linux VPS
Sep 2, 2026 / · 9 min read · wireguard vpn linux vps networking sysadmin devops security self-hosted ubuntu ·Running your own VPN server used to mean wrestling with OpenVPN's certificate authority workflow or IPsec's famously fiddly configuration stanzas. WireGuard was built to sidestep both problems: it's a VPN protocol implemented as a small codebase that the Linux kernel has shipped as a built-in module since late 2019, …
Read More