Windows Server
Create a Windows User via CMD (net user) — Cheat Sheet
Creating a local user on Windows Server from the command line is one of those tasks you'll do a hundred times. The GUI is fine for one user; CMD is faster…
Windows Server
Creating a local user on Windows Server from the command line is one of those tasks you'll do a hundred times. The GUI is fine for one user; CMD is faster…
Linux
Install Docker Engine + the compose plugin from Docker's official apt repo on Ubuntu/Debian, ditch the snap, and fix log growth and the UFW bypass.
Linux
Disk full on Linux: df, du, ncdu, deleted-but-open files, inodes, journald, Docker and snap leftovers, and how to free space safely.
Linux
Write a systemd service unit that survives reboots and crashes: anatomy, restart policy, env files, sandboxing, drop-in overrides, gotchas.
Linux
A working nginx reverse proxy on Ubuntu: proxy headers, WebSockets, Let's Encrypt via certbot, a catch-all server, and the 502/413 gotchas.
Linux
UFW on Ubuntu and Debian without the lockout: SSH first, a dead-man switch, rule order, subnet and game ports, and the Docker bypass.
Linux
fail2ban for SSH and nginx on Ubuntu 24.04 / Debian 12-13: jail.local, systemd backend, a custom scanner filter, testing with fail2ban-regex, and gotchas.
Linux
Copy-paste prompts for sysadmin work with Claude or any LLM: explain commands, write scripts, triage logs, review configs, convert Bash to PowerShell.
Linux
logrotate for your own apps on Ubuntu/Debian: a working config, create vs copytruncate, postrotate reloads, maxsize, testing with -d, common traps.
Linux
Admin and service users on Ubuntu/Debian: adduser vs useradd, groups, sudoers drop-ins, SSH keys with correct permissions, and locking users properly.
Linux
unattended-upgrades on Ubuntu and Debian: enable it, pick origins, decide on auto-reboot, test with --dry-run, read the logs. Plus the gotchas that bite.
Windows Server
My workflow for getting usable PowerShell out of Claude: a prompt with constraints, -WhatIf first, PSScriptAnalyzer, and the 5.1 vs 7 traps it falls into.
Linux
The first 20 minutes on a fresh Ubuntu 24.04 server: updates, sudo user, SSH keys, sshd drop-ins, UFW, fail2ban, auto-updates, swap, journald. In order.