
Set up SSH key authentication on Ubuntu and safely disable password login. ed25519 keys, ssh-copy-id, sshd_config — no lockout, ten-minute…
Front a Node.js app with Nginx as a reverse proxy on Ubuntu — proxy_pass, WebSocket upgrade, PM2 or systemd for…
Install Redis on Ubuntu, secure it with a password, install php-redis, and wire it into Laravel as cache/session/queue or WordPress…
New-VPS hardening checklist for Ubuntu: non-root sudo user, SSH key auth, disabled root/password login, UFW firewall, Fail2Ban, and unattended security…
Install Let's Encrypt SSL on Ubuntu with Certbot — Apache and Nginx, auto-renewal via systemd timer, force-HTTPS redirect, wildcard certs,…
The -y flag in yum, dnf, and apt-get auto-answers yes to every prompt. Useful in scripts; skip it for first-time…
Fix aaPanel emails not being signed by DKIM — chmod 644 the /www/server/dkim/{domain}/default.private file and restart rspamd. Includes DNS publish…
Permanently disable binary logging in MySQL or MariaDB by adding skip-log-bin to my.cnf under [mysqld]. Verify with SHOW VARIABLES LIKE…
Switch from LiteSpeed to Apache in WHM/cPanel with /usr/local/lsws/admin/misc/cp_switch_ws.sh apache. If LiteSpeed is still running, stop it with lswsctrl stop.
Stop cron-job output and email spam by redirecting stdout and stderr to /dev/null with >/dev/null 2>&1. Includes errors-only variant and…
Sign in to your account