Emergency server help: get in touch

Linux

Linux server scripts, tools and guides for AlmaLinux, Rocky Linux, Ubuntu and Debian: hardening, firewalls, databases, mail and monitoring.

225 guides, scripts and tools for Linux. Search them or pick a type. Press / to search.

225 pages

Website Error Codes Explained: 403, 404, 500, 502, 503 and 504 Fixes

What the common website error codes mean, what nginx and Apache write in the log for each one, and the first fix to try. Every error reproduced in our lab.

October 9, 2026

Change SSH Port in Linux Safely: AlmaLinux, Rocky, Debian and Ubuntu (Tested)

Change the SSH port from 22 without locking yourself out: firewall first (CSF, firewalld, UFW), SELinux label, both ports during the switch, Ubuntu 24.04 ssh.socket, fail2ban and clients. Tested on our lab servers.

October 9, 2026

Block AI Crawlers Without Leaving AI Search: robots.txt, .htaccess and IP Checks

Block AI training crawlers like GPTBot and ClaudeBot while keeping Google, ChatGPT search, Claude and Perplexity able to find you, with a tested robots.txt, an .htaccess rule and an IP check.

October 9, 2026

Automate SSL Certificate Renewal for 45-Day Certificates: certbot, cPanel and DirectAdmin

Set up SSL certificate renewal that survives 45-day certificates: certbot with ARI and a deploy hook, cPanel AutoSSL, DirectAdmin's lifetime-based renewal, and an expiry check from outside.

October 9, 2026

mysql_native_password Is Not Loaded: Fix ERROR 1524 on MySQL 8.4 and 9.7

Why MySQL 8.4 and 9.7 show ERROR 1524 Plugin 'mysql_native_password' is not loaded, the quick fix, the lasting fix with caching_sha2_password, and what breaks on 9.7.

October 9, 2026

Terminal Shortcuts Cheat Sheet: Bash, Zsh and tmux

Keyboard shortcuts and shell features for Bash and Zsh: line editing, history, job control, redirection, globbing, tmux and terminal apps.

October 9, 2026

Regex Cheat Sheet: PCRE, JavaScript, Python and grep -E

Regular expression syntax with the differences between PCRE, JavaScript, Python and grep -E, tested on real log lines.

October 9, 2026

Git Cheat Sheet: Branches, Undo, Remotes and Deploys

The Git commands you need day to day, from first commit to undoing mistakes, plus a push-to-deploy setup for servers.

October 9, 2026

Git Commands: 42 Everyday Commands with Examples

A reference of 42 everyday Git commands grouped by task, each with its syntax, a tested example and the most useful options, plus safe ways to undo mistakes.

October 9, 2026

DNS Filtering for Small Offices and MSPs (2027): AdGuard DNS, NextDNS, Cloudflare and More

AdGuard DNS, NextDNS, Control D, Cloudflare Zero Trust, DNSFilter and Cisco Umbrella compared for small offices and MSPs: prices, free tiers, log retention, encrypted DNS and deployment.

October 7, 2026

Plesk “Unable to connect to database”: PleskDBException Fix

Fix Plesk "Unable to connect to database" and PleskDBException errors: start MariaDB, free disk space, repair .psa.shadow, plesk repair db and InnoDB crashes.

October 7, 2026

Free website test

Is your website set up right?

Check SSL, security headers, redirects, robots.txt, sitemap, llms.txt and security.txt in one test. It takes about 30 seconds.