Server Administration
Analyze Apache Access Logs From the Terminal
Analyze Apache access logs from the terminal with awk, sort, uniq and grep: top client IPs, most-requested URLs, status-code counts and 404 hunts —…
Server Administration
Analyze Apache access logs from the terminal with awk, sort, uniq and grep: top client IPs, most-requested URLs, status-code counts and 404 hunts —…
Server Administration
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…
Server Administration
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…
Server Administration
Deploy a site with rsync and every update becomes one repeatable command that copies only what changed. This tutorial covers -avz over SSH, --exclude…
Server Administration
Add a swap file to a small server and a memory spike stops killing your processes. fallocate reserves the file, mkswap formats it, swapon…
Server Administration
Diagnose a struggling Linux server in under a minute with df, du, free and top - which resource is short, and which directory or…