Administration & Fixes articles

Administration & Fixes 911 Common VPS and Cloud errors: SSH, memory, disk and reboots On a VPS the machine is yours: the system, the services and the firewall obey your orders - and your mistakes. These...
Administration & Fixes 387 How to set the time zone and keep the clock correct on a Linux VPS On Linux, the command in charge is timedatectl. Run it with nothing after it and you see three things: the local...
Administration & Fixes 406 How to update a Debian or Ubuntu VPS, and turn on automatic security updates A server that is not updated piles up known security holes, and the updates already released are the cheapest...
Administration & Fixes 361 A service will not start on my VPS: reading systemctl status When a service fails to start, the answer is in two commands: systemctl status service-name and journalctl -u...
Administration & Fixes 390 How to run your own program as a systemd service that starts at boot For a program of yours (a Node.js app, a Python script, a bot) to start with the server and come back by itself if...
Administration & Fixes 532 Where are the logs on a Linux VPS: journalctl and /var/log On a Linux VPS the logs live in two places: in the systemd journal, read with journalctl, and in files under...
Administration & Fixes 385 My cron job does not run on the VPS: the usual causes When a cron job does not run on a VPS, the cause is almost never cron itself: it is the environment it runs in. cron...
Administration & Fixes 436 Upgrading Ubuntu to the next LTS release without breaking the server To move from one Ubuntu LTS release to the next without reinstalling, you use do-release-upgrade, after updating...
Administration & Fixes 413 Upgrading Ubuntu to a new release on a VPS without losing the server The short answer: updating packages (apt upgrade) and upgrading to a new release (for example, from one LTS version...