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

AlmaLinux latest version: current 10, 9 and 8 point releases and end-of-life dates

Live AlmaLinux point-release numbers for 10, 9 and 8 (refreshed twice a day), the support end date of each major, which one to install for cPanel, DirectAdmin or Plesk in 2026, and the commands to check and update a server.

October 30, 2026

PHP Still Showing the Old Version After an Update (cPanel & CloudLinux)

Updated PHP but a cPanel site still reports the old version? Often a stale lsphp or php-fpm worker is still serving the replaced binary. Confirm the cause, then recycle it safely.

October 28, 2026

cPanel PHP Stale-Worker Check

Read-only script that finds lsphp / php-fpm workers still running a replaced PHP binary after an update — the reason a cPanel site keeps reporting the old version.

October 28, 2026

Node.js Security Update October 2026: Find and Patch Every Node.js on Your Server

Node.js 22.23.4, 24.22.1 and 26.12.1 fix CVE-2026-111497 and nine other flaws. Find every Node.js on a server with a read-only script, update each kind of install, restart the apps and check again.

October 22, 2026

Hide WordPress and PHP Versions on All Your Sites

Hide the WordPress version, the PHP version and the web server banner on every site on a server, with a lab-tested must-use plugin, .htaccess rules and a rollout script.

October 22, 2026

How to Update PHP on cPanel, DirectAdmin & CloudLinux

Patch EA-PHP, CloudLinux Alt-PHP and DirectAdmin PHP safely. Review package backports, verify the web runtime and recycle LiteSpeed workers, with a documented production case study.

October 22, 2026

bc.googleusercontent.com in Your Logs: Googlebot or a Scanner? How to Tell and What to Block

How to tell Googlebot from Google Cloud scanners in your access log, a tested classification script using Google's IP lists, and how to block single addresses without hurting search.

October 20, 2026

Enable Post-Quantum TLS on AlmaLinux 9 with DirectAdmin (Tested)

AlmaLinux 9 ships OpenSSL 3.5 with hybrid post-quantum key exchange, but the default crypto policy leaves it out. One policy change turns it on for Apache, Exim, Dovecot and FTP. Tested on DirectAdmin 1.712.

October 19, 2026

Fix dnf “cannot execute: required file not found” on AlmaLinux 10 (Broken python3)

When dnf and yum stop with "cannot execute: required file not found" on AlmaLinux 10, a broken /usr/bin/python3 is the usual cause. How to confirm it with rpm -V and the two tested fixes.

October 18, 2026

Keep FreePBX 17 on Debian 12: Check the Trixie Block Before apt upgrade (Tested)

FreePBX 17 supports Debian 12 only. Three quick checks before apt upgrade, what an accidental Debian 13 upgrade would remove, and the gap we found in the installer pin, with a complete fix.

October 18, 2026

Block PHP Script Scans Without Blocking Visitors: a 404 Rule and fail2ban (Tested)

Scanners requesting missing .php files can slow a WordPress site tenfold. A rewrite rule answers them before PHP starts, and a fail2ban jail bans persistent addresses. Tested on Apache and OpenLiteSpeed.

October 18, 2026

MariaDB Watchdog Script: Restart MariaDB or MySQL Only When It Is Really Hung

A Bash watchdog for MariaDB and MySQL: checks that the server answers SELECT 1 within a time limit, saves diagnostics, and restarts only when you allow it and only when it is safe: not during startup or crash recovery, not during a backup, at most twice an hour. Report-only by default.

October 18, 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.