Web Development Tutorials
//

Author: admin

Server Administration

Run Scheduled Jobs With systemd Timers

systemd timers run scheduled jobs with a .timer/.service pair: OnCalendar sets the schedule, systemctl list-timers shows it, journalctl keeps the logs, and Persistent=true catches…

August 18, 2026

Server Administration

Back Up a Server With tar and gzip

Back up a server with tar and gzip: one dated, compressed archive of the site's files, verified with -tzf, restore-tested with -xzf, and copied…

August 17, 2026

Server Administration

Deploy a Site With rsync

Deploy a site with rsync and every update becomes one repeatable command that copies only what changed. This tutorial covers -avz over SSH, --exclude…

August 17, 2026

Server Administration

Add a Swap File to a Small Server

Add a swap file to a small server and a memory spike stops killing your processes. fallocate reserves the file, mkswap formats it, swapon…

August 17, 2026

Programming

Capture Output With Output Buffering in PHP

ob_start catches everything a script prints, so a template that echoes becomes a function that returns. That one trick powers shortcodes and page caches,…

August 15, 2026

Database Administration

Format Dates in MySQL With DATE_FORMAT

One DATETIME, three presentations: the DATE_FORMAT specifiers that matter (minutes are %i, never %m), DATEDIFF and DATE_ADD arithmetic, a monthly report, and when the…

August 15, 2026