<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on Jure</title><link>https://juredev.com/en/tags/linux/</link><description>Recent content in Linux on Jure</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 05 Dec 2026 06:41:35 -0400</lastBuildDate><atom:link href="https://juredev.com/en/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Beyond Cron: How to Schedule and Monitor Tasks with systemd Timers</title><link>https://juredev.com/en/blog/2026/beyond-cron-scheduling-monitoring-tasks-systemd-timers/</link><pubDate>Sat, 05 Dec 2026 06:37:46 -0400</pubDate><guid>https://juredev.com/en/blog/2026/beyond-cron-scheduling-monitoring-tasks-systemd-timers/</guid><description>&lt;p&gt;Cron has been solving a very specific need in Linux for decades: running commands periodically. It is simple, available on virtually every distribution, and, for many tasks, remains a perfectly valid solution.&lt;/p&gt;
&lt;p&gt;However, when those tasks become part of standard server operations, needs arise that go beyond specifying a time in a &lt;code&gt;crontab&lt;/code&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Running jobs under specific users and conditions.&lt;/li&gt;
&lt;li&gt;Managing service dependencies.&lt;/li&gt;
&lt;li&gt;Catching up on missed calendar executions after a server downtime.&lt;/li&gt;
&lt;li&gt;Checking the status and logs of each run from a single centralized place.&lt;/li&gt;
&lt;li&gt;Setting timeouts and actions for specific failure scenarios.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In previous articles, we explored how to &lt;a href="https://juredev.com/en/blog/2026/cron-wont-warn-you-how-to-monitor-scheduled-tasks/"&gt;detect errors in scheduled tasks&lt;/a&gt;, &lt;a href="https://juredev.com/en/blog/2026/a-backup-is-not-valid-until-you-restore-it/"&gt;verify that backups can actually be restored&lt;/a&gt;, and &lt;a href="https://juredev.com/en/blog/2026/detect-scheduled-tasks-that-stop-running-without-errors/"&gt;detect jobs that stop running without producing errors&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Did the Task Stop Running? How to Detect Jobs That Disappear Without Errors</title><link>https://juredev.com/en/blog/2026/detect-scheduled-tasks-that-stop-running-without-errors/</link><pubDate>Wed, 25 Nov 2026 09:37:24 -0400</pubDate><guid>https://juredev.com/en/blog/2026/detect-scheduled-tasks-that-stop-running-without-errors/</guid><description>&lt;h2 id="silence-is-a-failure-too"&gt;Silence is a failure too&lt;/h2&gt;
&lt;p&gt;A scheduled task can run smoothly for months… and then, on any random day, simply stop executing. Maybe someone accidentally modified the crontab, changed a path, disabled a service, or the server rebooted and something failed to restart.&lt;/p&gt;
&lt;p&gt;The problem is that &lt;strong&gt;cron is under no obligation to notify you&lt;/strong&gt; when a task you were expecting simply doesn&amp;rsquo;t run. There is no failing process, no non-zero exit code, and in many cases, no log entry indicating anything went wrong. There is only silence.&lt;/p&gt;</description></item><item><title>A Backup Is Not Valid Until You Can Restore It</title><link>https://juredev.com/en/blog/2026/a-backup-is-not-valid-until-you-restore-it/</link><pubDate>Tue, 24 Nov 2026 08:38:44 -0400</pubDate><guid>https://juredev.com/en/blog/2026/a-backup-is-not-valid-until-you-restore-it/</guid><description>&lt;h2 id="a-backup-file-is-not-a-backup"&gt;A backup file is not a backup&lt;/h2&gt;
&lt;p&gt;A backup script finishing without errors proves only one thing: a file was created. It does not prove that the file actually contains your data, nor that you can recover it when you need to. That difference is usually discovered at the worst possible moment: with the server down and the client on the phone.&lt;/p&gt;
&lt;p&gt;In the &lt;a href="https://juredev.com/en/blog/2026/cron-wont-warn-you-how-to-monitor-scheduled-tasks/"&gt;previous article&lt;/a&gt;, we looked at how to make cron alert you when a task fails. This is the next step. Having the backup job run is not enough: you must verify that it actually works.&lt;/p&gt;</description></item><item><title>Cron Won't Warn You When It Fails: How to Monitor Scheduled Tasks</title><link>https://juredev.com/en/blog/2026/cron-wont-warn-you-how-to-monitor-scheduled-tasks/</link><pubDate>Mon, 09 Nov 2026 19:15:30 -0400</pubDate><guid>https://juredev.com/en/blog/2026/cron-wont-warn-you-how-to-monitor-scheduled-tasks/</guid><description>&lt;h2 id="just-because-cron-is-silent-doesnt-mean-everything-works"&gt;Just Because Cron is Silent Doesn&amp;rsquo;t Mean Everything Works&lt;/h2&gt;
&lt;p&gt;Cron doesn&amp;rsquo;t know if your task finished successfully: it only knows it tried to run it. If your 3:00 AM backup fails, nobody gets an alert. The usual story is finding out weeks later, right when you need that backup and it doesn&amp;rsquo;t exist.&lt;/p&gt;
&lt;p&gt;The problem isn&amp;rsquo;t cron. It does exactly what it promises. The problem is assuming that the absence of visible errors means everything went fine. In this article, we&amp;rsquo;ll look at how to move from blind faith to real monitoring with three small changes.&lt;/p&gt;</description></item><item><title>How to Detect and Clean Up Forgotten SSH Keys in authorized_keys</title><link>https://juredev.com/en/blog/2026/how-to-detect-and-clean-up-forgotten-ssh-keys-in-authorized-keys/</link><pubDate>Sat, 24 Oct 2026 12:41:29 -0400</pubDate><guid>https://juredev.com/en/blog/2026/how-to-detect-and-clean-up-forgotten-ssh-keys-in-authorized-keys/</guid><description>&lt;p&gt;A successful SSH login without prior failed attempts might seem harmless, but it is a signal that warrants review. In this article, we walk through step-by-step how to investigate such an access and how to prevent it from happening again, based on a real incident: an SSH key from a decommissioned build server was still authorized in production.&lt;/p&gt;
&lt;h2 id="the-scenario"&gt;The scenario&lt;/h2&gt;
&lt;p&gt;A Linux production server logged two successful SSH logins from an external IP overnight. What stood out: there were no prior failed password attempts. This rules out a brute-force attack and indicates that the access occurred using valid credentials.&lt;/p&gt;</description></item><item><title>How to Patch the Critical NGINX Vulnerability on Debian 13 and Alpine Linux</title><link>https://juredev.com/en/blog/2026/patch-critical-nginx-vulnerability-debian-13-alpine-linux/</link><pubDate>Fri, 15 May 2026 08:10:36 -0400</pubDate><guid>https://juredev.com/en/blog/2026/patch-critical-nginx-vulnerability-debian-13-alpine-linux/</guid><description>&lt;p&gt;A step-by-step guide covering real-world troubleshooting during the upgrade process, HTTP/2 syntax changes, and differences between package managers.&lt;/p&gt;
&lt;p&gt;In May 2026, a &lt;a href="https://cybernews.com/security/nginx-vulnerability-exposes-millions-of-websites/"&gt;critical NGINX vulnerability&lt;/a&gt; was disclosed, affecting millions of servers. This guide documents the real upgrade process across two distinct environments—Debian 13 and Alpine Linux—including the issues encountered and how to resolve them.&lt;/p&gt;
&lt;h2 id="the-vulnerability-cve-2026-42945-nginx-rift"&gt;The Vulnerability: CVE-2026-42945 (NGINX Rift)&lt;/h2&gt;
&lt;p&gt;The catalyst for this update was &lt;strong&gt;NGINX Rift&lt;/strong&gt;, a critical heap buffer overflow that had remained undetected in NGINX&amp;rsquo;s codebase for 18 years. The flaw resides in &lt;code&gt;ngx_http_rewrite_module&lt;/code&gt;, included in every standard NGINX installation. It is triggered when a &lt;code&gt;rewrite&lt;/code&gt; directive combines unnamed PCRE captures (the &lt;code&gt;$1&lt;/code&gt;, &lt;code&gt;$2&lt;/code&gt; syntax) with a replacement string containing a question mark, followed by another &lt;code&gt;rewrite&lt;/code&gt;, &lt;code&gt;if&lt;/code&gt;, or &lt;code&gt;set&lt;/code&gt;. NGINX calculates the buffer size using one escaping method but writes the result using another, allowing the bytes written out of bounds to be controlled by an attacker.&lt;/p&gt;</description></item><item><title>Hybrid Architecture 2.0: How I Automated the Intelligence of My Content Hubs</title><link>https://juredev.com/en/blog/2026/hybrid-architecture-2-0-automating-content-hubs/</link><pubDate>Sun, 10 May 2026 07:03:22 -0400</pubDate><guid>https://juredev.com/en/blog/2026/hybrid-architecture-2-0-automating-content-hubs/</guid><description>&lt;p&gt;In the &lt;a href="https://juredev.com/en/blog/2026/hybrid-architecture-hugo-wordpress-blog/"&gt;previous article&lt;/a&gt;, I explained how I rescued my best articles from WordPress&amp;rsquo;s chronological graveyard using Hugo to build knowledge hubs. The result was a fast, clean, and well-organized &lt;code&gt;/temas/&lt;/code&gt; section.&lt;/p&gt;
&lt;p&gt;Yet there was a problem I didn&amp;rsquo;t mention: every time I published a new post, I had to sit in front of my computer, run the script manually, and wait for Hugo to compile. If I was away from home or only had my phone, the Hubs remained outdated.&lt;/p&gt;</description></item><item><title>Complete Guide to Backups with BorgBackup on Debian 13</title><link>https://juredev.com/en/blog/2026/complete-guide-to-backups-with-borgbackup-on-debian-13/</link><pubDate>Mon, 04 May 2026 08:36:43 -0400</pubDate><guid>https://juredev.com/en/blog/2026/complete-guide-to-backups-with-borgbackup-on-debian-13/</guid><description>&lt;h2 id="when-backups-fail"&gt;When Backups Fail&lt;/h2&gt;
&lt;p&gt;It was 2 AM on a Tuesday. A poorly written script began traversing &lt;code&gt;/home&lt;/code&gt; and wiped out configuration files for dozens of users. The team had backups… but they were stored on the exact same server. And that server was already compromised.&lt;/p&gt;
&lt;p&gt;This story happens far more often than people admit publicly. It is rarely due to a lack of tooling, but rather the result of a negligent backup architecture.&lt;/p&gt;</description></item><item><title>How to Install WordPress on an Alpine Linux VPS (Optimized and Realistic Guide)</title><link>https://juredev.com/en/blog/2026/how-to-install-wordpress-alpine-linux-vps/</link><pubDate>Sat, 18 Apr 2026 08:32:33 -0400</pubDate><guid>https://juredev.com/en/blog/2026/how-to-install-wordpress-alpine-linux-vps/</guid><description>&lt;p&gt;Recently I shared a &lt;a href="https://juredev.com/en/blog/2026/configuring-nginx-wordpress-debian-13-trixie/"&gt;practical guide to configuring Nginx with WordPress on Debian&lt;/a&gt;. This time I needed a new test environment and decided to try Alpine Linux, one of the lightest and fastest distributions available for a VPS.&lt;/p&gt;
&lt;p&gt;That lightness comes at a price: almost nothing comes pre-configured out of the box. And WordPress isn&amp;rsquo;t particularly forgiving of half-baked setups. This guide shows you step-by-step how to set up a complete &lt;strong&gt;Nginx + PHP-FPM + MariaDB + WordPress&lt;/strong&gt; stack, with the real-world optimizations I usually use in production environments.&lt;/p&gt;</description></item><item><title>How to Use Git Hooks for Automated Deployments on Your VPS (post-receive, Security, and Troubleshooting)</title><link>https://juredev.com/en/blog/2026/git-hooks-automated-deployment-vps-post-receive/</link><pubDate>Sun, 22 Mar 2026 11:21:14 -0400</pubDate><guid>https://juredev.com/en/blog/2026/git-hooks-automated-deployment-vps-post-receive/</guid><description>&lt;p&gt;In a previous article, we set up a &lt;a href="https://juredev.com/en/blog/2026/how-to-set-up-git-server-vps-ssh/"&gt;minimalist Git server using only SSH&lt;/a&gt;: a dedicated user, bare repositories, restricted keys, and zero external dependencies.&lt;br&gt;
Now let&amp;rsquo;s take it to the next level of usefulness: &lt;strong&gt;automated deployment every time you push&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;With a single &lt;a href="https://git-scm.com/docs/githooks"&gt;hook&lt;/a&gt;, every &lt;code&gt;git push&lt;/code&gt; will directly update your application in production. No GitHub Actions, no GitLab CI, no endless Docker Compose setups, no 400-line YAML files. Just Bash, Git, and your VPS.&lt;/p&gt;</description></item><item><title>How to Recover GRUB When a Debian 12 or 13 VPS Fails to Boot on Hetzner Cloud</title><link>https://juredev.com/en/blog/2026/recover-grub-debian-vps-hetzner-cloud/</link><pubDate>Sun, 22 Feb 2026 07:02:40 -0400</pubDate><guid>https://juredev.com/en/blog/2026/recover-grub-debian-vps-hetzner-cloud/</guid><description>&lt;p&gt;&lt;strong&gt;Updated Technical Guide (2026)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When a VPS stops booting after an update, an &lt;code&gt;apt full-upgrade&lt;/code&gt;, a partition change, or a snapshot restore, the problem is usually the same: &lt;strong&gt;&lt;a href="https://en.wikipedia.org/wiki/GNU_GRUB"&gt;GRUB&lt;/a&gt; cannot find the system&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;On &lt;a href="https://www.hetzner.com/cloud/"&gt;Hetzner Cloud&lt;/a&gt;, this is usually fixed without data loss by using the &lt;strong&gt;Rescue System&lt;/strong&gt;. If you see typical messages like:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;grub rescue&amp;gt;
error: no such device
error: no such partition
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This guide explains how to recover GRUB on:&lt;/p&gt;</description></item><item><title>Is It Worth Replacing rsync with rclone? Real-World Experience from Production</title><link>https://juredev.com/en/blog/2026/is-it-worth-replacing-rsync-with-rclone-real-world-experience/</link><pubDate>Thu, 12 Feb 2026 07:48:51 -0400</pubDate><guid>https://juredev.com/en/blog/2026/is-it-worth-replacing-rsync-with-rclone-real-world-experience/</guid><description>&lt;p&gt;For many years, &lt;strong&gt;rsync&lt;/strong&gt; has been my go-to tool on Linux for almost everything: backups, deployments, server-to-server syncs, migrations… It is rock-solid, predictable, and very hard to break. Most sysadmins consider it their first choice.&lt;/p&gt;
&lt;p&gt;However, in recent times, working with increasingly large datasets—especially when the destination is cloud storage—I began noticing that sync operations were taking much longer than reasonable. It wasn&amp;rsquo;t due to a lack of bandwidth or saturated CPU… it was simply that &lt;strong&gt;rsync&lt;/strong&gt;&amp;rsquo;s execution model was starting to struggle.&lt;/p&gt;</description></item><item><title>Practical Guide: Configuring Nginx for WordPress on Debian 13 (Trixie)</title><link>https://juredev.com/en/blog/2026/configuring-nginx-wordpress-debian-13-trixie/</link><pubDate>Sun, 08 Feb 2026 14:28:06 -0400</pubDate><guid>https://juredev.com/en/blog/2026/configuring-nginx-wordpress-debian-13-trixie/</guid><description>&lt;p&gt;This guide walks you through a clean, secure, and functional &lt;strong&gt;Nginx&lt;/strong&gt; + &lt;strong&gt;PHP-FPM&lt;/strong&gt; setup for a personal &lt;a href="https://es.wikipedia.org/wiki/WordPress"&gt;&lt;strong&gt;WordPress&lt;/strong&gt;&lt;/a&gt; site or a modest blog on a Debian 13 server. It does not aim to be the most advanced setup on the planet (we will save that for when you get thousands of daily visits), but rather a solid, modern, and reasonably secure baseline that you can deploy to production without fear.&lt;/p&gt;
&lt;p&gt;It is designed for those managing their own VPS or learning how to do so. Let&amp;rsquo;s get to work:&lt;/p&gt;</description></item><item><title>Quick Guide: Install n8n on a Debian VPS with PostgreSQL, Nginx, and HTTPS</title><link>https://juredev.com/en/blog/2026/install-n8n-debian-postgresql-nginx-https/</link><pubDate>Mon, 26 Jan 2026 21:41:13 -0400</pubDate><guid>https://juredev.com/en/blog/2026/install-n8n-debian-postgresql-nginx-https/</guid><description>&lt;p&gt;If you have ever wondered how to do a clean, secure, and production-ready setup for light-to-medium workloads of self-hosted &lt;strong&gt;n8n&lt;/strong&gt; on a &lt;strong&gt;Debian&lt;/strong&gt; server using &lt;strong&gt;Docker Compose&lt;/strong&gt;, &lt;strong&gt;PostgreSQL&lt;/strong&gt; (much more recommended than &lt;strong&gt;SQLite&lt;/strong&gt; if you plan to scale), &lt;strong&gt;Nginx&lt;/strong&gt; as a reverse proxy, and free &lt;strong&gt;HTTPS&lt;/strong&gt; certificates from &lt;strong&gt;Let’s Encrypt&lt;/strong&gt;, this guide is for you.&lt;/p&gt;
&lt;p&gt;The focus is to give you a solid path based on best practices: data persistence, working public webhooks, task runner support (to execute code more efficiently and securely), and mandatory &lt;strong&gt;HTTPS&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>How to Set Up Your Own Git Server on a VPS Using Only SSH (Practical Guide 2026)</title><link>https://juredev.com/en/blog/2026/how-to-set-up-git-server-vps-ssh/</link><pubDate>Thu, 22 Jan 2026 09:14:28 -0400</pubDate><guid>https://juredev.com/en/blog/2026/how-to-set-up-git-server-vps-ssh/</guid><description>&lt;p&gt;Are you looking for a lightweight alternative to &lt;a href="https://github.com/"&gt;GitHub&lt;/a&gt; or &lt;a href="https://about.gitlab.com/"&gt;GitLab&lt;/a&gt; for personal projects, internal testing, or simply to have full control without relying on third parties?&lt;/p&gt;
&lt;p&gt;Setting up a pure &lt;strong&gt;&lt;a href="https://juredev.com/blog/tag/git/"&gt;Git&lt;/a&gt;&lt;/strong&gt; server over &lt;strong&gt;SSH&lt;/strong&gt; remains, in 2026, one of the simplest, most secure, and most efficient solutions available. You get complete control, zero unnecessarily exposed web services, and remarkably low resource consumption.&lt;/p&gt;
&lt;p&gt;In this guide, we will set up a minimalist &lt;strong&gt;&lt;a href="https://git-scm.com/"&gt;Git&lt;/a&gt;&lt;/strong&gt; server using only native operating system tools. No Docker, no databases, no web interfaces. The result: a server that typically consumes between 5 and 50 MB of RAM and, once configured, requires virtually zero maintenance.&lt;/p&gt;</description></item><item><title>Security: A Beginner's Guide to Hardening Your Linux Server from Scratch</title><link>https://juredev.com/en/blog/2025/beginners-guide-to-hardening-your-linux-server/</link><pubDate>Wed, 30 Jul 2025 20:25:06 -0400</pubDate><guid>https://juredev.com/en/blog/2025/beginners-guide-to-hardening-your-linux-server/</guid><description>&lt;p&gt;Protecting your Linux server is always essential. It is a fundamental step to keep your data safe and ensure that your project—whether it&amp;rsquo;s a personal blog, a web application, or a staging environment—does not fall victim to cyberattacks. This guide is designed for beginners who are taking their first steps as systems administrators (sysadmins) and want to establish a solid security baseline on a Linux server, such as a virtual machine in AWS, DigitalOcean, or a local VPS. Here, I&amp;rsquo;ll walk you through how to implement essential security measures step by step, using a practical, approachable mindset without sacrificing technical precision.&lt;/p&gt;</description></item><item><title>From Testing to Production: Advanced Configurations for Nginx and PHP-FPM on Debian 12</title><link>https://juredev.com/en/blog/2025/advanced-nginx-php-fpm-debian-12/</link><pubDate>Tue, 15 Apr 2025 21:02:51 -0400</pubDate><guid>https://juredev.com/en/blog/2025/advanced-nginx-php-fpm-debian-12/</guid><description>&lt;p&gt;If you already have a working web server thanks to my previous guide, &lt;a href="https://juredev.com/en/blog/2025/setup-web-server-nginx-php-mariadb-debian-12/"&gt;“Easy Guide: Set Up Your Web Server with Nginx, PHP 8.2, and MariaDB on Debian 12”&lt;/a&gt;, or because you took your first steps on your own, congratulations! Now it&amp;rsquo;s time to take your server to the next level. In this article, I&amp;rsquo;ll guide you through transforming your basic LEMP stack (Linux, Nginx, MySQL/MariaDB, PHP) into a more robust, faster, and more secure setup—ideal for production environments or for experimenting with improvements on your test server. We&amp;rsquo;ll optimize performance, harden security, and prepare for scale, all with a practical and accessible approach.&lt;/p&gt;</description></item><item><title>Easy Guide: Set Up a Web Server with Nginx, PHP 8.2, and MariaDB on Debian 12</title><link>https://juredev.com/en/blog/2025/setup-web-server-nginx-php-mariadb-debian-12/</link><pubDate>Mon, 07 Apr 2025 20:33:29 -0400</pubDate><guid>https://juredev.com/en/blog/2025/setup-web-server-nginx-php-mariadb-debian-12/</guid><description>&lt;p&gt;Want to set up your own web server on Debian 12 with Nginx, PHP, and MariaDB? In this guide, I will show you how to do it step by step in a simple, practical way. It is designed for anyone starting out with Linux servers who needs a basic environment to test ideas or experiment before taking the leap to something more serious, like a production server. I will also share a few tips to enhance performance and security. Let&amp;rsquo;s get to work!&lt;/p&gt;</description></item><item><title>How to Configure msmtp with PHP to Send Emails in WordPress Without Plugins</title><link>https://juredev.com/en/blog/2025/configure-msmtp-php-wordpress-without-plugins/</link><pubDate>Sun, 23 Mar 2025 20:04:09 -0400</pubDate><guid>https://juredev.com/en/blog/2025/configure-msmtp-php-wordpress-without-plugins/</guid><description>&lt;p&gt;A simple and lightweight solution for your VPS&lt;/p&gt;
&lt;p&gt;I host this blog on a Debian 12 VPS, and believe me, sending emails gave me more than a few headaches at first. If you&amp;rsquo;ve ever used PHP&amp;rsquo;s &lt;code&gt;mail()&lt;/code&gt; function in WordPress, you&amp;rsquo;re likely familiar with its shortcomings: emails landing in spam, messages that never arrive, or the lack of proper SMTP authentication. And if, like me, you have a VPS with modest resources, loading up WordPress with plugins just to handle that is like asking an exhausted horse to carry an extra suitcase: more CPU and memory consumed when you don&amp;rsquo;t always have plenty to spare.&lt;/p&gt;</description></item></channel></rss>