Linux & Kernel Tuning
sysctl -p— Reload kernel TCP/IP parametersjournalctl -u service -n 100— Inspect systemd logsss -tulpn— Audit active listening socketsvnstat -m— Monthly bandwidth accounting
TLS & Reverse Proxy Notes
- Prefer TLS 1.3 with X25519 key exchange and ALPN h2
- Automate ACME certificate renewal via HTTP-01 challenge
- Enforce
X-Content-Type-Options: nosniffheaders - Bind internal upstreams strictly to loopback interfaces
Containers & Build Cache
docker compose up -d --build— Rebuild & restart stackgit fetch --prune && git rebase— Clean history syncrsync -avz --progress— Incremental artifact syncsha256sum -c checksums.txt— Release verification
Quick Diagnostics Snippets
# Verify TCP congestion control and queue discipline sysctl net.core.default_qdisc net.ipv4.tcp_congestion_control # Inspect certificate expiry date openssl s_client -connect localhost:8443 -servername localhost </dev/null 2>/dev/null | openssl x509 -noout -dates # Disk and memory snapshot df -hT / && free -h